problem of void LEditor::BraceMatch(long pos)

Discussion about CodeLite development process and patches
fanhe0513
CodeLite Enthusiast
Posts: 39
Joined: Sat Aug 21, 2010 7:32 pm
Genuine User: Yes
IDE Question: c++
Contact:

problem of void LEditor::BraceMatch(long pos)

Post 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
You do not have the required permissions to view the files attached to this post.
fanhe0513
CodeLite Enthusiast
Posts: 39
Joined: Sat Aug 21, 2010 7:32 pm
Genuine User: Yes
IDE Question: c++
Contact:

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

Post 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?
You do not have the required permissions to view the files attached to this post.
fanhe0513
CodeLite Enthusiast
Posts: 39
Joined: Sat Aug 21, 2010 7:32 pm
Genuine User: Yes
IDE Question: c++
Contact:

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

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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
Make sure you have read the HOW TO POST thread
fanhe0513
CodeLite Enthusiast
Posts: 39
Joined: Sat Aug 21, 2010 7:32 pm
Genuine User: Yes
IDE Question: c++
Contact:

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

Post 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?
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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
Make sure you have read the HOW TO POST thread
Post Reply