Code::Blocks

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: wab on February 02, 2012, 01:32:52 pm

Title: Plugin/Option for navigation without spaces/tabs problem (like in Dos Navigator)
Post by: wab on February 02, 2012, 01:32:52 pm
Hello

I'm writing for ask programmers of possibility implement editor mode of navigation by cursor on every places, even if there is any letters or spaces. I'm programmer for 20 years, and never meet better text editor than Dos Navigator or Necromancer Dos Navigator. In most cases, remembering if I put some add spaces or not is not important, DN always remove spaces when saving file. And I never care if have a long lines, and cursor jump to beginnig of empty line hiding code I'm just reading.

It should be a mode, another possibility rather than only option, because it have obviousness disadventages.

I know it can be hard or easy to implement it, depending on inside structure of editor, which I don't know.
So, I'm ask here if anybody thought about this navigation mode "without spaces problem" ?

Title: Re: Plugin/Option for navigation without spaces/tabs problem (like in Dos Navigator)
Post by: jens on February 02, 2012, 09:10:04 pm
I'm not sure, I understood correctly what you want.
Do you want to be able to move the caret at any position in the editor, even after the end of a line ?

If yes, this is possible with recent versions.
Just enable "Settings -> Editor -> Margins and caret -> Selections -> Enable virtual space" .
Title: Re: Plugin/Option for navigation without spaces/tabs problem (like in Dos Navigator)
Post by: wab on February 02, 2012, 10:45:27 pm
TA - DA  :D

Very Thanks jens

It's just what I'm looking for !

Nice to know this option, after a year of using CB :-)