PreviousNextTracker indexSee it online !

(143/211) 3844 - edit - "indent lines" for unsupported modes does nothing

For modes which do not support it, this action should spit out an informative message either as a dialog or to the activity log, instead of just doing nothing.

Submitted ezust - 2013-11-12 16:01:51 Assigned
Priority 5 Labels editor core
Status open Group minor bug
Resolution None

Comments

2013-11-12 16:02:27
ezust

- **summary**: "indent selected lines" doesn't. --> "indent [selected] lines" doesn't.

2013-11-13 14:54:37
kpouer

What action ? You mean indent lines in the edit menu ?

2013-11-13 15:28:54
ezust

Yes. In an XML file, select a bunch of lines, and invoke "indent lines". Nothing happens.
If this is because XXX is not defined in the XML edit mode, there should be a message in the statusbar indicating that we need XXX to be defined in XML edit mode for this action to work.

2013-11-13 15:39:13
kpouer

I don't know what XXX means, but for an xml it is normal that it doesn't work, jEdit cannot indent xml files.

2013-11-13 15:45:35
ezust

if I knew what XXX meant, I would fill it in too. But basically, I think there should be an informative message that explains why this action doesn't work on some modes.

2013-12-09 02:57:56.467000
ezust

- **summary**: "indent [selected] lines" doesn't. --> "indent [selected] lines" for unsupported modes does nothing
- Description has changed:

Diff:

~~~~

--- old
+++ new
@@ -1 +1 @@
-I have no idea what this action does, and only a vague idea of what it is supposed to do, but even so, it doesn't seem to work.
+For modes which do not support it, this action should spit out an informative message either as a dialog or to the activity log, instead of just doing nothing.

~~~~

2013-12-09 02:58:43.113000
ezust

- **summary**: "indent [selected] lines" for unsupported modes does nothing --> edit - "indent lines" for unsupported modes does nothing