Bugs that appeared after dropping wxScintilla for wxSTC

Discussion about CodeLite development process and patches
NilC
CodeLite Enthusiast
Posts: 34
Joined: Fri Sep 14, 2012 1:01 pm
Genuine User: Yes
IDE Question: C++
Contact:

Bugs that appeared after dropping wxScintilla for wxSTC

Post by NilC »

Bugs that appeared after dropping wxScintilla for wxSTC

0. Platform - Win 7 x64 Home Premium, Russian

1. Black background in higlighted matching words (neither default colour settings nor deleting all settings from User/ApplicationData/Codelite has no effect):
Image

2. Quick Code Navigation - Ctrl + Alt + Mouse left button - not only navigates, but select code:
(In this example I was looking for an implementation for ReplaceSelection from ReplaceSelection call in the same file)
Image
The reason for this - 'alt' cursor:
Image

3. Description page code font has wrong height:
Image

4. Wrong height for hint tool tip (maybe this associated with a escription page code font wrong height):
Image
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Bugs that appeared after dropping wxScintilla for wxSTC

Post by eranif »

NilC wrote: Higlight matching words - black background (neither default colour settings nor deleting all settings from User/ApplicationData/Codelite has no effect):
This is a bug in wxWidgets, I patched my local wxWidgets and sent a patch to wx (which I think was already applied) - you should apply the patch locally and build wx294
http://trac.wxwidgets.org/ticket/14680
Description page code font wrong height:
not related to wxStyledTextCtrl. This is a new implementation I wrote. The font is using the correct font size. it is no longer suppose to use the font selected in the editor. the function signature will now use a monospaced font, while the description part is using the standard GUI font per OS. I will change the font to something less ugly than "Courier", but it general this will not change
NilC wrote: Wrong height for hint tool tip (maybe this associated with a escription page code font wrong height):
This seems like a bug to me, thought I can't make it happen here

Eran
Make sure you have read the HOW TO POST thread
NilC
CodeLite Enthusiast
Posts: 34
Joined: Fri Sep 14, 2012 1:01 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Bugs that appeared after dropping wxScintilla for wxSTC

Post by NilC »

This is a bug in wxWidgets, I patched my local wxWidgets and sent a patch to wx (which I think was already applied) - you should apply the patch locally and build wx294
http://trac.wxwidgets.org/ticket/14680
Thanks for patch :)
Quick Code Navigation - Ctrl + Alt + Mouse left button - not only navigates, but select code:
I could change hotkey to Ctrl + Shift + Mouse left button. Is it right solution?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Bugs that appeared after dropping wxScintilla for wxSTC

Post by eranif »

NilC wrote:I could change hotkey to Ctrl + Shift + Mouse left button. Is it right solution?
I am going to change this fucntionality a bit to be more like eclipse - when Ctrl-CLICK a word a small popup menu will show to offer decl or impl

Eran
Make sure you have read the HOW TO POST thread
Post Reply