Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
wxScintilla 2.01
asynchronous13:
I'm not positive that this is related, but it seems possible.
Ubuntu 8.10 x86_64
gcc 4.3.2
I updated to SVN 5862 (from 574X). The editor was completely unusable. It was as if "Select All" was constantly pressed. The text of the entire file in the editor was highlighted. If I clicked with the mouse, the highlighted text briefly flashed to un-highlighted, then immediately back to highlighted. If I typed anything, of course it replaced the highlighted text. So, at most I could have one character on the screen while typing.
I checked out several intermediate SVN versions to try and find where this was introduced. I did a very simple test -- if the first file opened was highlighted, it had the bug. If the file was not highlighted, I gave it a pass. Eventually I found:
5843 - ok
5844 - "select all" bug
The dates for these are 2009-10-05, which matches up with reports on this thread. I thought I could just use 5843 for now and report the bug. But then I noticed that if I selected any text whatsoever, the selected text was immediately and forever pasted into the editor. For example, if I selected a line with the mouse -- that line was pasted repeatedly into the text file until I closed codeblocks. If I selected text using shift+arrow, I could only get one letter selected (or one line) before that single letter (or line) was pasted over and over -- until I closed codeblocks. Even if I selected text in a different app -- then that text was pasted over and over into the the codeblocks editor until I closed codeblocks.
I tried rolling back several more revisions to find the source of that error, but after too many crashes I was getting inconsistent results. So, rebooted and checked out a pristine SVN tree (now 5864).
--- Code: ---svn status --no-ignore | grep '^\?' | sed 's/^\? //' | xargs rm -rf
make clean
make distclean
./bootstrap
./configure --with-contrib-plugins=all
make -j 8
make install
--- End code ---
Now, when I launch CB I get the message that
--- Code: ---"One or more plugins were not loaded.
This usually happens when a plugin is built for
a different version of the Code::Blocks SDK.
Check the application log for more info.
List of failed plugins:
libwxSmithAui.so
libwxsmith.so
libwxsmithcontribitems.so"
--- End code ---
(by the way, where is the application log saved?) Not sure if my issue is related to the changes mentioned in this thread, or if I just forgot to update a library or something. Anyway, without those plugins at least I can use the editor again.
cgarcia109:
what svn are you using
-scintilla test branch
-trunk with some wxscintilla code applied
-only trunk
In the first case it could be related
In the second case, if you applied some code from this thread, that could be the trouble.
In the last case, its prolly not related as no new wxscintilla code has been applied to trunk yet. But anyway i think it will be of interest to codeblocks team.
Jenna:
--- Quote from: asynchronous13 on October 15, 2009, 01:03:11 am ---I'm not positive that this is related, but it seems possible.
Ubuntu 8.10 x86_64
gcc 4.3.2
I updated to SVN 5862 (from 574X). The editor was completely unusable. It was as if "Select All" was constantly pressed. The text of the entire file in the editor was highlighted. If I clicked with the mouse, the highlighted text briefly flashed to un-highlighted, then immediately back to highlighted. If I typed anything, of course it replaced the highlighted text. So, at most I could have one character on the screen while typing.
--- End quote ---
You have to rebuild (clean and build) the whole sources (see here).
asynchronous13:
--- Quote from: cgarcia109 on October 15, 2009, 03:37:57 am ---what svn are you using
-scintilla test branch
-trunk with some wxscintilla code applied
-only trunk
--- End quote ---
trunk only. so perhaps it had nothing to do with wxScintilla changes.
This thread matches my symptoms more closely.
--- Quote from: jens on October 15, 2009, 02:52:54 pm ---You have to rebuild (clean and build) the whole sources (see here).
--- End quote ---
Done, as mentioned in the 2nd half of my post. The "select all" issue appears to better now, but any thoughts on why certain plugins no longer load?
Navigation
[0] Message Index
[*] Previous page
Go to full version