Menu

#469 Slow syntax highlighting when typing # comments

v0.6.x
closed-fixed
Editor (234)
5
2008-01-25
2008-01-25
Jan Ploski
No

Commenting out a single line in a large file with # causes an observable 1-2 seconds delay. Removing the comment does not suffer from this delay. The delay happens because the sync token sought by PerlPartitioner is wiped out by the comment action. Solution: look for a later sync token (e.g., from the next line) instead.

Discussion

  • Jan Ploski

    Jan Ploski - 2008-01-25

    Logged In: YES
    user_id=86907
    Originator: YES

    Fixed in CVS.

     
  • Jan Ploski

    Jan Ploski - 2008-01-25

    Logged In: YES
    user_id=86907
    Originator: YES

    Fixed in 0.6.19.

     
  • Jan Ploski

    Jan Ploski - 2008-01-25
    • status: open --> closed-fixed
     

Log in to post a comment.