#3425 closed enhancement (fixed)
Retain font information when copying
Reported by: | massimo ceraolo | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | normal | Milestone: | 1.9.4 |
Component: | OMEdit | Version: | trunk |
Keywords: | Cc: |
Description
I hope this ticket is not a duplicate.
I've tried to see whether there are other tickets on this subject, but I found none (maybe I myself wrote something, but I'm not sure...).
When from OMEdit some code is copied and then it is pasted in a to a different program, the font information is lost (font, style, color). At least it is lost when the text is pasted into Microsoft Word.
Also spaces at the beginning of rows, e.g. used to indent, are lost.
Instead, it would be nice to have this information kept. For instance, Dymola keeps the font information, when copying/pasting into Microsoft Word.
Behaviour observed using OpenModelica bf6ce68 (version reported by OMEdit)
Change History (7)
comment:1 by , 9 years ago
Milestone: | 1.9.3 → 1.9.4 |
---|
comment:2 by , 9 years ago
Status: | new → accepted |
---|
This is now fixed in a development branch https://github.com/adeas31/OMEdit/commit/b3fe5dd0d096066f0308d751f87739578fa6b91c. The fix will be available in 1.9.4 final release.
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
The fix is now available via the nightly build.
comment:4 by , 9 years ago
I've checked the fix.
Now colours are retained, but indentation is lost.
I hope a further fix is done to keep also indentations (i.e. spaces and/or tabls at the beginning of rows)
Moved to new milestone 1.9.4