SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Did you know? => Topic started by: Lisa on April 10, 2008, 02:44:21 pm

Title: View Indentation Levels
Post by: Lisa on April 10, 2008, 02:44:21 pm
To view the indentation levels in your code, use the Current Line Highlight feature. From the main menu, select Tools > Options, expand Appearance > General, then set the value of the Current line highlight option to Syntax indent ruler. This will draw a box around the current line with hashmarks showing each indentation level.
Title: Re: View Indentation Levels
Post by: jimdibb on June 21, 2010, 06:21:24 pm
This is not valid any more (in Ver 15)
Title: Re: View Indentation Levels
Post by: pvonkaenel on November 08, 2010, 01:50:41 pm
I just tried it in 15.0.1.3 and it seems to work.  However, I find it makes the current line more difficult to read.

Peter
Title: Re: View Indentation Levels
Post by: Wanderer on November 08, 2010, 03:06:29 pm
I just tried it in 15.0.1.3 and it seems to work.  However, I find it makes the current line more difficult to read.
Using 15.0.1.3, I don't see any difference between "Draw box only" and "Syntax indent ruler".
Title: Re: View Indentation Levels
Post by: pvonkaenel on November 08, 2010, 04:26:27 pm
I just tried it in 15.0.1.3 and it seems to work.  However, I find it makes the current line more difficult to read.
Using 15.0.1.3, I don't see any difference between "Draw box only" and "Syntax indent ruler".

That's strange.  For me "Draw box only", draws a box around the line, and "Syntax indent ruler", draws the box, and little downward hashes marking where the indent points are (see attached).  Maybe syntax indent needs to be enabled for it to work.  Did you try it on a regular text file, or on code for a language with syntax indent enabled?  Maybe what you want is "Tabs ruler" for the more general case.

Peter
Title: Re: View Indentation Levels
Post by: chrisant on November 08, 2010, 08:27:16 pm
I just tried it in 15.0.1.3 and it seems to work.  However, I find it makes the current line more difficult to read.
Using 15.0.1.3, I don't see any difference between "Draw box only" and "Syntax indent ruler".
Syntax Indent Ruler only works for monospace fonts, otherwise it falls back to Draw Box Only.
There are other topics in the forum on this issue, some searching can probably find them.
Some monospace fonts are not attributed correctly, and I vaguely recall there may have been a related issue with either Unicode fonts or Unicode encoding in file buffers.
Title: Re: View Indentation Levels
Post by: pdebonte on February 09, 2012, 06:04:17 pm
I just tried it in 15.0.1.3 and it seems to work.  However, I find it makes the current line more difficult to read.
Peter

Might lighter Current line box and column colors make it less distracting?  For example, I've set the current line:
Share & Enjoy,
-Pete