1
General Discussion / Toward a truly improved text editor.
« on: 2009.11.28, 18:52:03 »
WELL, in answer to all complaints, and as defense against BEING childish that I
regret but still did deliberately, and that I now put behind, here's what I was
ACTUALLY working on last night, as part of long time text editor project. A new
DLL to get mouse info was a crucial part the week before, by the way.
Perhaps Yet Another Text Editor -- VIO fixed columns -- seems childish, too,
but I ain't yet satisified with 'em, certainly not GUI, though the ancient DOS
Celebrity, that you haven't heard of, is still fairly pleasing.
This is outlining the text search dialog. Hope you can unscramble as seen here.
- a possibly practical way to edit fairly complex search expressions:
----------------------- < imagine a box made with line draw chars
|th* wor?, ##s phr*se?| < the basic text
| *_ ? _^# & a ^ | < char options, auto set to dependent default
|s p| < position options, generally two...
----------------------- <
in the basic text, *, ?, and # are particularly useful BUT equivocal, SO:
character options tell how char above (esp those 3) is to be viewed:
^ the one literal character that's above the caret (my "hat" is OFF to you)
? means any one of any character
* means any # of any characters
a, A, (alpha char) specifically lowercase, uppercase, or any alpha (english + foreign)
have a separate switch to FIRST translate foreign to english via tables
v, V, c, C mean lower/upper vowels and consonants
e, f, d, p, s mean english or foreign alphas, delims, punctuation, stops
o means operators, and if are any other categories such as english or
foreign uppers only, that'd be E or F, add them as found useful
# means any # of any in '0'..'9'; to match specific length or less, "1"-"9"
_ mandatory space (probably auto set as phrase is typed in)
position and other options:
w, s, p at left match start of word, sentence, paragraph; at right, the end
(only allow two, I suppose) -- phrase always starts left-justified
position finding probably takes precedence, and backwards-ish
├────────────────────────────────────────────────────────────────────────────
& logical and when space above, always sentence oriented (for my purposes)
| " or " " " " "
¸ soundex match, likely to be SLOW... put it off to version 2
± proximity-ish, variable by separately specified #
furthermore, provide a "clear" button, BUT keep the 3 strings in a short list for recall.
regret but still did deliberately, and that I now put behind, here's what I was
ACTUALLY working on last night, as part of long time text editor project. A new
DLL to get mouse info was a crucial part the week before, by the way.
Perhaps Yet Another Text Editor -- VIO fixed columns -- seems childish, too,
but I ain't yet satisified with 'em, certainly not GUI, though the ancient DOS
Celebrity, that you haven't heard of, is still fairly pleasing.
This is outlining the text search dialog. Hope you can unscramble as seen here.
- a possibly practical way to edit fairly complex search expressions:
----------------------- < imagine a box made with line draw chars
|th* wor?, ##s phr*se?| < the basic text
| *_ ? _^# & a ^ | < char options, auto set to dependent default
|s p| < position options, generally two...
----------------------- <
in the basic text, *, ?, and # are particularly useful BUT equivocal, SO:
character options tell how char above (esp those 3) is to be viewed:
^ the one literal character that's above the caret (my "hat" is OFF to you)
? means any one of any character
* means any # of any characters
a, A, (alpha char) specifically lowercase, uppercase, or any alpha (english + foreign)
have a separate switch to FIRST translate foreign to english via tables
v, V, c, C mean lower/upper vowels and consonants
e, f, d, p, s mean english or foreign alphas, delims, punctuation, stops
o means operators, and if are any other categories such as english or
foreign uppers only, that'd be E or F, add them as found useful
# means any # of any in '0'..'9'; to match specific length or less, "1"-"9"
_ mandatory space (probably auto set as phrase is typed in)
position and other options:
w, s, p at left match start of word, sentence, paragraph; at right, the end
(only allow two, I suppose) -- phrase always starts left-justified
position finding probably takes precedence, and backwards-ish
├────────────────────────────────────────────────────────────────────────────
& logical and when space above, always sentence oriented (for my purposes)
| " or " " " " "
¸ soundex match, likely to be SLOW... put it off to version 2
± proximity-ish, variable by separately specified #
furthermore, provide a "clear" button, BUT keep the 3 strings in a short list for recall.