|
Jochen,
> When I accidentally hit Ctrl+R instead of it's neighbour Ctrl+E in a
> workspace, the line with the cursor is right-aligned. The only way to get
> rid of this is to delete the cr between the right-aligned and the previous
> line. I am using a german keyboard. This happens under Win2k, XPPro and
> XPHome (at least). Is this a feature or rather a bug?
More like an oversight. Dolphin uses the Windows RichEdit control for the
workspace and this control binds certain operations to shortcut keys -
Ctrl-R tells the control to use right justification for the current
paragraph. Most of these bindings are overridden by the shortcut keys
defined in Dolphin but some, Ctrl-R for example, aren't used and leak
through to perform their original purpose.
The "normal" key binding to reselect left justification, Ctrl-L, has been
overridded by Dolphin so I would think the only way of getting rid of the
justification is either by immediately pressing Ctrl-Z (undo) or manually
resetting the alignment in all the RichEdits.
RichTextEdit allInstances do: [:each |
each
selectAll;
paragraphAlignment: #left;
selectionRange: (0 to: 0)]
It's easy enough to prevent this happening (just bind Ctrl-R to something
within Dolphin) and is probably the best thing to do if it is causing you a
real problem.
--
Ian Bartholomew
|