1. 26 Apr, 1999 4 commits
    • Barry Warsaw's avatar
    • Barry Warsaw's avatar
      Lots of changes to support loading alternative color name database. · 0604d723
      Barry Warsaw authored
      You can switch database by just loading the new one; the list window
      and nearest colors adapt to the new database.
      
      Some reorganizing of code.  Also, the name of the database file is
      stored in the ~/.pynche pickle.  If it can't be loaded, fallbacks are
      used.
      0604d723
    • Guido van Rossum's avatar
    • Guido van Rossum's avatar
      Tim Peters strikes again: · 26c2cb4b
      Guido van Rossum authored
      Ho ho ho -- that's trickier than it sounded!  The colorizer is working with
      "line.col" strings instead of Text marks, and the absolute coordinates of
      the point of interest can change across the self.update call (voice of
      baffled experience, when two quick backspaces no longer fooled it, but a
      backspace followed by a quick ENTER did <wink>).
      
      Anyway, the attached appears to do the trick.  CPU usage goes way up when
      typing quickly into a long triple-quoted string, but the latency is fine for
      me (a relatively fast typist on a relatively slow machine).  Most of the
      changes here are left over from reducing the # of vrbl names to help me
      reason about the logic better; I hope the code is a *little* easier to
      26c2cb4b
  2. 25 Apr, 1999 1 commit
  3. 24 Apr, 1999 2 commits
  4. 23 Apr, 1999 28 commits
  5. 22 Apr, 1999 5 commits