YangFan:

             I'm working on a project need to fold comment lines
for Ruby, and it's hard for me to modify Scintilla source code.
I'm using a timer to fire every 1 second to set fold level, i feel
boring that the editor could not indent correctly due to the
different fold level information of the really same fold level
comment lines. Any suggestions?

  Scintilla isn't designed to allow multiple sources of folding
information to cooperate. Best option is to modify the Ruby folder in
the Scintilla source code. Next best is to turn off folding by setting
the property "fold" to "0" (using SCI_SETPROPERTY) and performing all
the folding in your code.

  Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to