Iago Rubio wrote:

> Cannot reproduce it.
>
> Folding and highlighting works for me. Using scintilla 1.66.


  http://neotitans.com/pylexer_bugdemo.png
  http://neotitans.com/pylexer_bugdemo2.png

shows how the bug is manifested.  The red-colored
text is a triple quoted string and yet the lexer
mistakenly treats it as if it were real python
syntax.


In

  http://neotitans.com/pylexer_bugdemo.png

folding the line starting at:

  def _where(self, tables, where=[]):

should hide the entire _where function.


In

  http://neotitans.com/pylexer_bugdemo2.png

where a Toggle All Folds is invoked,

  Class BaseConnection:

should cleanly fold, but that doesn't seem to be
happening.


* This was tested on a completely vanilla installation
of Scite 1.66 (windows version - wscite.zip).

* You can also see the bug manifest in the triple-quoted
comment at the start of the source code.

* Interestingly enough, the bug is not present on a
Scite *1.62* installation of mine... (also from wscite.zip)!
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to