I'm having 2 problems with SE:
1) It seams like resizing a form with an anchored SyntaxEditor in it triggers some kind of really expensive process everytime, resulting in a very sluggish resize action (I have a 1MB read-only SQL document with semantic parsing turned off, only colorizing is enabled). My profiler indicates some kind of reparsing stuff. Why? I don't do anything with the text, I just want it to be repainted. Is there anyway to disable this reparsing?
2) Basically my SQL document is read-only and has say 4000 lines (not a few, but also not that many). Now if I want to enable document changes and start typing things like "INSERT INTO table VALUES('" at the beginning of the document, as soon as I hit the opening "'" the editor falls into a deep thinking/parsing/whatever phase for 30sec-1min. Same happens with the closing "'". Basically it renders the control useless. Any suggestions?
1) It seams like resizing a form with an anchored SyntaxEditor in it triggers some kind of really expensive process everytime, resulting in a very sluggish resize action (I have a 1MB read-only SQL document with semantic parsing turned off, only colorizing is enabled). My profiler indicates some kind of reparsing stuff. Why? I don't do anything with the text, I just want it to be repainted. Is there anyway to disable this reparsing?
2) Basically my SQL document is read-only and has say 4000 lines (not a few, but also not that many). Now if I want to enable document changes and start typing things like "INSERT INTO table VALUES('" at the beginning of the document, as soon as I hit the opening "'" the editor falls into a deep thinking/parsing/whatever phase for 30sec-1min. Same happens with the closing "'". Basically it renders the control useless. Any suggestions?