Turning off syntax highlighting for a file

Edward Diener <[email protected]>
Newsgroups gmane.editors.jedit.user
Message-ID <[email protected]>
JEdit sometimes slows to a crawl when editing certain complicated C++ 
files. By complicated I mean a C++ file which shows advanced C++ syntax 
features and which also may have temporarily incorrect C++ syntax as I 
work through some programming problem. By slowing to a crawl I mean that 
moving my cursor around in the file or placing my cursor somewhere in 
the file or scrolling through the file, is sometimes extremely slow, 
without JEdit taking a number of seconds, sometimes 5 or more, before I 
can continue editing.

I believe this is happening because JEdit is trying in the background to 
parse the C++ constructs in the file, most probably because JEdit needs 
to understand the constructs in the file in order to do its syntax 
highlighting.

I would like to defeat this occasional slowness somehow and the thought 
that I have is to do whatever is necessary to stop JEdit from parsing 
the C++ syntax elements in the file.

Is Jedit parsing the C++ files in the background in order to understand 
its constructs ?

Is Jedit trying to understand the constructs in order to provide syntax 
highlighting ?

Is there a way to completely turn off syntax highlighting for a buffer ? 
Or for a file's edit mode ?

Will turning off syntax highlighting ( I hope that is possible ) prevent 
JEdit from trying to parse the C++ constructs in the file ?

The slowdown of course can be the result of some Plugin I have, but I do 
not see that any of my Plugins needs to parse the file for C++ 
constructs for any reason.



-- 
-----------------------------------------------
jEdit Users' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.