https://bugs.kde.org/show_bug.cgi?id=384569
Bug ID: 384569
Summary: %M is repeated if used in a user menu item which does
not require text selection
Product: kile
Version: 2.9.91
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: NOR
Component: user interface
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
I have user menu items of the following which have the following form
<something>%M%C<something else>
for example
(%M%C)
This should mean that if text is selected when triggered, the text selection is
surrounded by the insertions and the cursor is placed just after the selection.
For example
ab
should become
(ab<cursor here>)
If no text is selected, I should get
(<cursor here>)
This pattern is reflected in the example.xml which uses it for small-caps
with-or-without-selected-text.
\textsc{%M%C}
However, whether my menu items or small-caps from example.xml, what actually
happens is that, if text is selected,
%M<something>%M%C<something else>
is inserted into the document. So, rather than
(ab<cursor here>)
you get
ab(ab<cursor here>)
This doesn't happen if you require text to be selected. However, then you can't
use the item without a selection.
This is a regression: it worked just fine with user tags in previous versions
of Kile.
--
You are receiving this mail because:
You are watching all bug changes.