#482 Large buffer and contextInsensitive syntax highlight dialog

None
open
None
5
2014-03-25
2011-12-02
tvojeho
No

Hi, this situation was discussed a couple days ago, but I found the solution not completely ideal.

I'd like to do away with the 'large buffer' dialog concerning the syntax highlighting mode, and it is possible if I set the 'contextInsensitive' property in mode file as true, but running the contextInsensitive mode ignores the NO_LINE_BREAK="FALSE" property so in multiple line highlighting only the first line remains highlighted.

Setting the <PROPERTY NAME="contextInsensitive" VALUE="FALSE"/> or commenting it out on the other hand shows the 'large buffer' dialog.

tvojeho

Discussion

  • I think contextInsensitive should not be set in mode file as a property
    in the first place. jEdit should know whether a mode has context
    sensitive rules or not, while composing all rules written in a mode
    file.

     
    • assigned_to: nobody --> kpouer
     
  • That's right Kazutoshi, you could submit a bug about that, but I don't think the priority on that will be very high. At least it will not be top priority for me.

     
  • Alan Ezust
    Alan Ezust
    2014-03-25

    Ticket moved from /p/jedit/bugs/3624/