News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

"GoTo line" trouble

Started by kisoft, October 18, 2005, 09:44:56 AM

Previous topic - Next topic

kisoft

Folding = Fold All (for ex.), Ctrl-G (GoTo) to folded line  :( Cursor unvisible, a status line looks like "Line 2360, Column 1" (it's right). Required line (block) necessary automatic unfold.
C::B CVS, wx262, Win2000, MinGW32
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
[url="https://github.com/kisoft/cbmakefilegen"]https://github.com/kisoft/cbmakefilegen[/url]

mandrav

Please submit a feature request (or bug report) for this.
Be patient!
This bug will be fixed soon...

kisoft

Quote from: mandrav on October 18, 2005, 02:13:45 PM
Please submit a feature request (or bug report) for this.
A feature request was submit (RequestID = 1329422).
Thanks
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
[url="https://github.com/kisoft/cbmakefilegen"]https://github.com/kisoft/cbmakefilegen[/url]

kisoft

Quote from: kisoft on October 18, 2005, 09:44:56 AM
Folding = Fold All (for ex.), Ctrl-G (GoTo) to folded lineĀ  :( Cursor unvisible, a status line looks like "Line 2360, Column 1" (it's right). Required line (block) necessary automatic unfold.
C::B CVS Update HEAD 21.10.2005, a block unfolded! That's great!

BUT: Cursor position is out of editor window. Cursor invisible. Cursor moving needs to look required line.

IMHO: After goto, cursor must centered (vertically) relative an editor window.


An editor window top
...
...
Centered line
...
...
An editor window bottom


May be this problem have Win version only? (I can't test Linux version of C::B meanwhile)

OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
[url="https://github.com/kisoft/cbmakefilegen"]https://github.com/kisoft/cbmakefilegen[/url]

rickg22

I'm not sure if we can implement that centering of the cursor.

grv575

It's been reported before I believe.  The issue is that it needs to expand the surrounding collapsed block when it jumps to a line within one.

kisoft

Quote from: rickg22 on October 21, 2005, 05:27:10 PM
I'm not sure if we can implement that centering of the cursor.
Ok, centering - is yet another way. Later, may be.
Return to GoTo.

Command: Fold all.
Command: GoTo 1528.
Required block unfolded, Ok. After Goto I see a screenshot (see below).
I goes to line 1528, but I see line 1523 and above. Line 1528 is not visible. :(



[attachment deleted by admin]
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
[url="https://github.com/kisoft/cbmakefilegen"]https://github.com/kisoft/cbmakefilegen[/url]