Il 13/02/2011 23:47, Pavel Sanda ha scritto:
errm, ctrl+shift+r was bound highly esoteric regexp-mode.
i dont think this deserves new shortcut. moreover, i cant find this accessible
anywhere in dialog itself. i suppose this means there will be 1% of people ever
getting that regexps are possible.
In my original patch, there used to be a combo box on the dialog with some
commonly useful regular expression, like:
- match everything (.*)
- only words ([a-zA-Z_])
- only blanks([[:blank:]])
- only numbers ([0-9])
that disappeared after a rework of the dialog, which actually recovered
a lot
of space from the Basic panel (and I'm happy with that), leaving more space
for the Find... and Replace... WorkAreas themselves. Now these options are
part of the Insert... menu, where we get an extra "Regular Expression"
submenu when we are inside these WAs.
I share the point that the user may hardly notice the extra-menu available
only while editing in these particular WAs. I was also thinking of creating
a new toolbar showing up automatically while in these WAs (similarly to
what happens with Math mode), with these (and other) commonly used
regexps. What would you think of such an extra toolbar ?
T.