Author Topic: what is that line?  (Read 17498 times)

jul

  • Guest
what is that line?
« on: May 02, 2006, 04:43:38 pm »
hi,

what is the vertical line across the editor? how can I get rid of it?

thanks

Jul

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9699
Re: what is that line?
« Reply #1 on: May 02, 2006, 04:58:04 pm »
It shows you when a line is more than a fixed number of characters (usually 80) long. This is e.g. to ensure you can print a source-code without having line-breaks caused by the limitation of a max.-80-chars-per-column of your printer (in ASCii mode) or terminal.
To disable (change) it go to Settings->Editor->Gutter,margins and caret and change the "Gutter and margins mode" to "none.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: what is that line?
« Reply #2 on: May 02, 2006, 04:59:25 pm »
what is the vertical line across the editor?
it's the Gutter line,
it shows you a specific column (which should not be exceeded while writing your code in order to have nicely layouted printouts)
The Gutter line column position, color and visibility can be adjusted from the Settings->Editor dialog

Quote
how can I get rid of it?
to switch it off, set
Settings->Editor->Gutter, margins and caret->Mode: = None


i guess such a terrible complex question can't be explored alone
by searching the available options in the settings dialogs,
therefore i'm pleased that i can give you the answer ...

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9699
Re: what is that line?
« Reply #3 on: May 02, 2006, 05:02:22 pm »
I guess I've been a few seconds faster... ;-)
i guess such a terrible complex question can't be explored alone
by searching the available options in the settings dialogs,
therefore i'm pleased that i can give you the answer ...
:lol: :lol: :lol:
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Vampyre_Dark

  • Regular
  • ***
  • Posts: 255
  • Hello!
    • Somewhere Over The Rainbow...
Re: what is that line?
« Reply #4 on: May 02, 2006, 05:17:47 pm »
Yeah, way to treat your users!  :lol: Those Dumbasses, how dare they not know what that vertical line was called!
C::B Wishlist
~BOYCOTT THE EVIL YELLOW BOXES~

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: what is that line?
« Reply #5 on: May 02, 2006, 05:26:38 pm »
Yeah, way to treat your users!  :lol: Those Dumbasses, how dare they not know what that vertical line was called!
Those darn dumb-asses, which always need to have the last words ...  :D

Offline Vampyre_Dark

  • Regular
  • ***
  • Posts: 255
  • Hello!
    • Somewhere Over The Rainbow...
Re: what is that line?
« Reply #6 on: May 02, 2006, 05:40:19 pm »
Yeah, way to treat your users!  :lol: Those Dumbasses, how dare they not know what that vertical line was called!
Those darn dumb-asses, which always need to have the last words ...  :D
Oh come now now. Off the high horse. You act like you you don't have time to write a one word answer telling him 'gutter' but you have time to write that uneeded paragraph at the end telling him he's an idiot. How is hew supposed to find the option to turn it off when he didn't know it was called the gutter.

Maybe he could have looked in the help file.. oh wait..
C::B Wishlist
~BOYCOTT THE EVIL YELLOW BOXES~

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: what is that line?
« Reply #7 on: May 02, 2006, 07:50:14 pm »
Those Dumbasses, how dare they not know what that vertical line was called!
That's actually not surprising, since it is not the gutter at all. Gutter is an entirely different thing.

Anyway, that's how we call it in the prefereces :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

VReality

  • Guest
Re: what is that line?
« Reply #8 on: May 09, 2006, 03:08:31 am »
Thank you Thomas.

I've never seen it called a 'gutter' anywhere else.  I believe the gutter is in the left margin where the break-point markers and the program pointer show up.  I've seen the line in question referred to as the 'right margin' elsewhere.

Not that CodeBlocks needs to be exactly the same as everyone else, but maybe the Editor Settings menu could be updated for clarity?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: what is that line?
« Reply #9 on: May 09, 2006, 09:09:37 am »
Quote
I believe the gutter is in the left margin where the break-point markers and the program pointer show up.
That's right, this is how the word is generally used in text editors. Another meaning for gutter is the "inner" margin of a page in a book (i.e. the right margin on a left side and the left margin on a right side).

Scintilla calls that line "edge", I would call it "silly line at 80 characters", but neither of these is really a good naming :)
I am not even sure what it is good for, formatting for a fixed printer width? (the last time I printed out sources was around 1985, when thermal printers and 9 pin dotwriters were still considered state of the art, so I wouldn't know :)).

"Right margin" as you said might still be the best choice, even though "margin" suggests that it breaks lines going beyond (which is not the case).
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: what is that line?
« Reply #10 on: May 09, 2006, 09:19:38 am »
"Right margin hint" might be better?
Be patient!
This bug will be fixed soon...

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: what is that line?
« Reply #11 on: May 09, 2006, 10:55:58 am »
Sounds good. Better than everything else, anyway :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."