Ask a question about scrollbar in the LiteEditor

Discussion about CodeLite development process and patches
ssy
CodeLite Curious
Posts: 3
Joined: Sun May 08, 2011 6:29 am
Genuine User: Yes
IDE Question: c++
Contact:

Ask a question about scrollbar in the LiteEditor

Post by ssy »

I have compiled the CodeLite IDE project with VC successfuly.
Oh,Thanks your great work,so I can owned one IDE that compiled by myself completely.
But the version I get have some problems.the obvious thing is problem caused by the scrollbar.
I found that the quesiton postions at
bool ScintillaWX::ModifyScrollBars(int nMax, int nPage) {
...
if (!horizontalScrollBarVisible || (wrapState != eWrapNone))
horizEnd = 0;
...
sci->SetScrollbar(wxHORIZONTAL, sbPos, pageWidth, horizEnd);
...
}
at runtime the arg is:pageWidth = 6,horizEnd =0.and the horizEnd =0 is because (wrapState != eWrapNone)) above.so
a messagebox present in the wxWidgetsLib. Additionly,the call is for the
///
m_asciiViewer = new DebuggerAsciiViewer(m_book);
m_book->AddPage(m_asciiViewer, name, false, bmp);
////in debugerpane.cpp
alert.JPG
And the scroll bar in my version is not same as the official releas version,the comparsion follows(left is your,right is mine):
compare.JPG
Can you give me some help info about this problem,thanks.
You do not have the required permissions to view the files attached to this post.
Last edited by ssy on Mon May 09, 2011 8:17 am, edited 1 time in total.
fanhe0513
CodeLite Enthusiast
Posts: 39
Joined: Sat Aug 21, 2010 7:32 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Ask a question about scrollbar in the LiteEditor

Post by fanhe0513 »

Can not load the picture, use attachment instead please.
ssy
CodeLite Curious
Posts: 3
Joined: Sun May 08, 2011 6:29 am
Genuine User: Yes
IDE Question: c++
Contact:

Re: Ask a question about scrollbar in the LiteEditor

Post by ssy »

fanhe0513 wrote:Can not load the picture, use attachment instead please.
Thanks your concern for my question. I have just upload the pictures.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Ask a question about scrollbar in the LiteEditor

Post by eranif »

From the 'Debug Alert" dialog I can see that you are using Universe version of wxWidgets. codelite does not support this (neither it does not support building codelite under VC compiler.)

You should build codelite against native wxWidgets library built as shared library /unicode and using the GNU toolchain.
Any other combination is not supported.

Eran
Make sure you have read the HOW TO POST thread
ssy
CodeLite Curious
Posts: 3
Joined: Sun May 08, 2011 6:29 am
Genuine User: Yes
IDE Question: c++
Contact:

Re: Ask a question about scrollbar in the LiteEditor

Post by ssy »

Thanks your help! I have transormed the Codelite projects to consponding vc projects,because I am trying to use
the codelite to devlopp an IDE for my new language.
According to your notice, I have known some information about the question, and I think I can solve it.
At last ,Thanks you again.
Post Reply