Page 1 of 1

problem of void LEditor::BraceMatch(long pos)

Posted: Fri Mar 04, 2011 7:20 pm
by fanhe0513
UBUNTU 10.04
codelite 2.9.0

The LiteEditor will flash a frame when I click on a open brace.
Detail about reproducing.
1.Place caret in a line.
screenshot1.png
2.Scroll down so that the cursor outside the screen.

3.Click on a '{' line.
screenshot2.png
screenshot3.png

Re: problem of void LEditor::BraceMatch(long pos)

Posted: Fri Mar 04, 2011 7:27 pm
by fanhe0513
continue
screenshot4.png
--------------------------
If I disable highlight matched braces, it is no this problem.
And I found that, it is the result of the following function.

Code: Select all

wxScintilla::BraceHighlight(pos, endPos);
Finally, I found codeblocks had this problem too.
But scite and geany which base on scintilla develop by gtk+ were no problem.
I have no any ideas to fix it.
Has any ideas?

Re: problem of void LEditor::BraceMatch(long pos)

Posted: Fri Mar 04, 2011 7:53 pm
by fanhe0513
Another question.
I want to check the last message of the build log, but codelite do not show the last message after building.
screenshot1.png
I do not like use error pane, because it is not accurate enough.
Which source file should I modify?
Thanks.

Re: problem of void LEditor::BraceMatch(long pos)

Posted: Sat Mar 05, 2011 12:07 am
by eranif
fanhe0513 wrote:I do not like use error pane, because it is not accurate enough.
Which source file should I modify?
Thanks.
You can disable this behavior from 'Settings | Build Settings | Build Output Appearance' and uncheck the option: "Always show the error pane after build"

I am guessing you are talking about the "flicker" when the caret is next the a brace, this is a wxWidgets problem. I will see what can be done about it (maybe there is a workaround ..)

Eran

Re: problem of void LEditor::BraceMatch(long pos)

Posted: Sat Mar 05, 2011 6:40 am
by fanhe0513
You can disable this behavior from 'Settings | Build Settings | Build Output Appearance' and uncheck the option: "Always show the error pane after build"
I already have done so.
Inside you can see in the screenshot, it did not automatically open error pane.
I just want it automatically scroll to the bottom after the building so I can quickly check whether there is any error. Inside you can see in the screenshot, the output view pane stay in the middle. However, if there is a post build script, it can automatically scroll to the bottom...
I am guessing you are talking about the "flicker" when the caret is next the a brace, this is a wxWidgets problem. I will see what can be done about it (maybe there is a workaround ..)
Yeah, "flicker".
I guess it is a wxwidgets problem too. Dos wxwidgets fix this in 2.9.x?

Re: problem of void LEditor::BraceMatch(long pos)

Posted: Sun Mar 06, 2011 1:41 pm
by eranif
fanhe0513 wrote:I just want it automatically scroll to the bottom after the building so I can quickly check whether there is any error. Inside you can see in the screenshot, the output view pane stay in the middle.
Please open a feature request for this

Eran