The second does not work and might be a bug or a scintilla limitation ( I will see if I find the time to look into it deeper).It works in scite and I think our smart indenter messes things.
If all smartindent-plugins are switched off it still does not work.The second does not work and might be a bug or a scintilla limitation ( I will see if I find the time to look into it deeper).It works in scite and I think our smart indenter messes things.
If all smartindent-plugins are switched off it still does not work.For me it works if I compile cb with cb, no contrib plugins. Gentoo linux, latest head.
Good catch, I found the "evil" plugin, it's the spellchecker.If all smartindent-plugins are switched off it still does not work.For me it works if I compile cb with cb, no contrib plugins. Gentoo linux, latest head.
Thanks, example 1 is now working.If you either disable the spellchecker-plugin completetely via "Plugins -> Manage plugins" or at least disable online spellchecking from "Settings -> Editor -> SpellChecker" the second example should work also.
Strange...
Good catch, I found the "evil" plugin, it's the spellchecker.
If you either disable the spellchecker-plugin completetely via "Plugins -> Manage plugins" or at least disable online spellchecking from "Settings -> Editor -> SpellChecker" the second example should work also.Thanks! I confirm it on Win7 x64. Now it works!
Good catch, I found the "evil" plugin, it's the spellchecker.I will look into it
void OnlineSpellChecker::DoSetIndications(cbEditor* ctrl)const // called OnUpdate
...
if(stc->SelectionIsRectangle() || (stcr && stcr->SelectionIsRectangle())) return; // workaround so Example2 is working
stc->IndicatorSetStyle(GetIndicator(), wxSCI_INDIC_SQUIGGLE);
// when we return here, after IndicatorSetStyle() the Example 2 is not working
...
I still don't know what the problem is:I see if I find the time to look into it this weekend.Codevoid OnlineSpellChecker::DoSetIndications(cbEditor* ctrl)const // called OnUpdate
...
if(stc->SelectionIsRectangle() || (stcr && stcr->SelectionIsRectangle())) return; // workaround so Example2 is working
stc->IndicatorSetStyle(GetIndicator(), wxSCI_INDIC_SQUIGGLE);
// when we return here, after IndicatorSetStyle() the Example 2 is not working
...
Any ideas?
So please commit it. (Or I will do it.)Committed in svn r8857 .
And thank s lot Jens!