Forgot your password?
typodupeerror

Comment Re:Rexx and Kedit (Score 1) 288

The more and less commands work just like the all command but they either add or subtract to the list of displayed lines.

You could execute
all "/*"
more "*/"

to find all beginning and ending lines of comments (or you could also execute all "/*" | "*/".

You could also execute
all "/*"
less "*/"

to find all beginning comment lines that are multiline comments.

Selective line editing (which is the feature of Kedit that these commands are taking advantage of) works by assigning a value, 0 - 254, to the line and displaying only those lines that match the display criteria.

So you could write a macro that assigns a line value based on its identation level. You could then execute the command "SET DISPLAY 4 *" to view all lines that are indented 4 or more levels. Much more powerful than any lame folding feature in other editors.

Slashdot Top Deals

Top Ten Things Overheard At The ANSI C Draft Committee Meetings: (5) All right, who's the wiseguy who stuck this trigraph stuff in here?

Working...