Page 1 of 1

Bugs that appeared after dropping wxScintilla for wxSTC

Posted: Mon Sep 24, 2012 3:19 pm
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

Re: Bugs that appeared after dropping wxScintilla for wxSTC

Posted: Mon Sep 24, 2012 3:24 pm
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

Re: Bugs that appeared after dropping wxScintilla for wxSTC

Posted: Mon Sep 24, 2012 3:33 pm
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?

Re: Bugs that appeared after dropping wxScintilla for wxSTC

Posted: Mon Sep 24, 2012 3:41 pm
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