Author Topic: "GoTo line" trouble  (Read 11753 times)

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
"GoTo line" trouble
« 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, wx262, Win2000, MinGW32
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: "GoTo line" trouble
« Reply #1 on: October 18, 2005, 02:13:45 pm »
Please submit a feature request (or bug report) for this.
Be patient!
This bug will be fixed soon...

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: "GoTo line" trouble
« Reply #2 on: October 18, 2005, 02:53:42 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:
https://github.com/kisoft/cbmakefilegen

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: "GoTo line" trouble
« Reply #3 on: October 21, 2005, 11:08:35 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.

Code
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:
https://github.com/kisoft/cbmakefilegen

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: "GoTo line" trouble
« Reply #4 on: October 21, 2005, 05:27:10 pm »
I'm not sure if we can implement that centering of the cursor.

grv575

  • Guest
Re: "GoTo line" trouble
« Reply #5 on: October 22, 2005, 03:58:22 am »
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.

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: "GoTo line" trouble
« Reply #6 on: October 24, 2005, 01:44:46 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:
https://github.com/kisoft/cbmakefilegen