Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: cambalinho on November 22, 2018, 10:08:59 pm

Title: code blocks ide - why i lose the text editor code focus?
Post by: cambalinho on November 22, 2018, 10:08:59 pm
when i'm writing the code on text editor and i move the mouse to the tab's, why i lose the text editor focus?
can i disable these option?
Title: Re: code blocks ide - why i lose the text editor code focus?
Post by: BlueHazzard on November 23, 2018, 05:19:30 pm
What operating system? What codeblocks version?
Title: Re: code blocks ide - why i lose the text editor code focus?
Post by: sodev on November 23, 2018, 06:38:29 pm
Most probably a CodeBlocks linked against wxWidgets >= 3.0, not sure if it only happens on Windows 10, but i have the same issue with my CodeBlocks with wxWidgets 3.1.2+, but i can live with that :).

Its sort of funny, it happens only on the notebook tabs, not only the ones of the editor pane, but the tabs in all panes like management, logs. If the mouse hovers on a tab the keyboard focus is lost, if the mouse leaves the tab it returns where it was. Seems to be a CodeBlocks issue because it doesn't happen in the AUI sample.
Title: Re: code blocks ide - why i lose the text editor code focus?
Post by: cambalinho on November 23, 2018, 07:41:36 pm
i'm using Windows 7.
Code::Blocks 17.12 version.
i don't have sure if it's the last, but i will see it.
"wxWidgets" sorry,  i have seen these project type, but i don't know it.
Title: Re: code blocks ide - why i lose the text editor code focus?
Post by: oBFusCATed on November 24, 2018, 12:06:14 am
Because it is a feature.
Settings -> Environment -> Notebook appearance -> Enable scrolling with mousewheel
Title: Re: code blocks ide - why i lose the text editor code focus?
Post by: cambalinho on November 24, 2018, 12:10:41 am
thank you so much for all
i need ask: why these feature is enabled by default?
by my experience, these is a bad feature. because we can move the mouse without we know it. that's why i was getting very trouble :(
Title: Re: code blocks ide - why i lose the text editor code focus?
Post by: oBFusCATed on November 24, 2018, 12:14:07 am
Because some people like it and don't have trouble with accidental mouse moves.
Title: Re: code blocks ide - why i lose the text editor code focus?
Post by: cambalinho on November 24, 2018, 12:15:50 am
understood.
thank you so much for all..
now i can write the code without problems... thank you so much