[SVN] Request for additional input types
Allan Odgaard
throw-away-1 at macromates.com
Fri Feb 10 20:59:26 UTC 2006
On 10/2/2006, at 20:59, Brad Choate wrote:
> [...] What I would like is an "Input" choice on the bundle command
> dialog of "Current Paragraph". So I could say Input: Selected Text
> or Current Paragraph. [...]
>
> Another input type I would love to see is "Scoped Text" [...]
hmm… I sent you a private reply not so long ago which amongst others
said (the first one should allow for grabbing “current paragraph”):
As for input choice, I would like to allow for a search
back/forward regexp to denote what should be the input, I think
this would be extremely flexible.
As for the current scope as input: the problem is that e.g. for a
string, we markup escape sequences (and sometimes
printf-sequences), for URLs we may do similar down the read (e.g.
URL-quoted characters, markup the username/password part etc.),
which means if the caret is on one of these sub-parts, the
TM_SCOPE_TEXT would be wrong (as it would only be the escaped
character or similar).
More information about the textmate-dev
mailing list