|
From: chimera <ch...@So...> - 2001-09-29 06:43:11
|
Hi, Hope I'm not beating any dead horses, but in the process of writing an Otter edit mode I've come upon some features, in no particular order, that I would like to suggest be implemented: First, a "match start of word" option for MARK_FOLLOWING. I'm trying to highlight words that start with u, v, ..., z (which are variables in Otter), but if I try <MARK_FOLLOWING TYPE="LITERAL2">u</MARK_FOLLOWING> it ends up highlighting the tail portion of anything that contains u, even in the middle of the word. Second, an "unindentPrevLine" similar to "indentPrevLine" would really be useful, so that if the previous line matches a regular expression, that previous line and the current line are both unindented. I would imagine this to be useful for other languages such as when you have if-endif constructs. I am just a newbie to jEdit and would appreciate it being pointed out if what I'm trying to accomplish can already be achieved. :-) As an aside, could someone tell me if there is a "go to matching tag" function for HTML/XML files? I've seen a "find matching tag" function (I think in the HTML plugin), but that just highlights the tag without moving the cursor. What about a "collapse all folds" macro? I know one can set up file types to open with all folds collapsed, but in the middle of editing...? Thanks in advance, Sue Ann Koay ch...@so... |