#90572 - 2003-01-27 09:34 AM
Re: PostPrep-Test Post , please ignore code
|
Richard H.
Administrator
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
I don't have a very strong view on highlighting variable and macros in strings for posting. For consistancy I think it would be better if they are, after all as us non-poets say, "a variable is a variable..."
It's more important to highlight variables and macros in editors, as forgetting to double up $,@ and % characters is a common and easily fixed error. Here is an example from VIM with and without highlighting variables in strings:
"Variable $$sUserName is $sUserName, @@WKSTA is @WKSTA" ? "Variable $$sUserName is $sUserName, @@WKSTA is @WKSTA" ?
If the processing or coding overhead is significant it is probably not worth the bother.
On the issue of indenting shouldn't it simply respect whatever is in the original code? Or am I missing something?
|
Top
|
|
|
|
#90577 - 2003-01-27 11:12 AM
Re: PostPrep-Test Post , please ignore code
|
Richard H.
Administrator
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
You can download it (and get more info) here
Yes it is free (including source code). It is covered by a "charityware" license, similar to KiXtart's "careware". And the maintainer Bram Moolenaar is Dutch I believe. Spooky, eh?
It has a powerfull scripting language and a generic WIMP/GUI interface.
It's probably most useful to people who already know VI and it's keystroke / regular expression / colon prompt commands. Someone who just wants a syntax highlighting editor on Windows is probably better off with something simpler.
It has some great features that I'm only just discovering after years of using it. I recently discovered "folds", which allow you to collapse sections of code to a single line. I now "fold" functions and variable declaration areas in my code, and as the folding can be nested I fold large and complex SELECTs within the function folds.
And of course it supports "convert to HTML" for any programming language syntax
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 980 anonymous users online.
|
|
|