Commit Graph

13 Commits

Author SHA1 Message Date
wmayer
013d99dd65 Core: Directly store text changes made in text object
Store changes made in TextDocumentEditorView immediately to TextDocument. This fixes the issue reported in
https://forum.freecad.org/viewtopic.php?p=786175#p786175
2024-10-14 18:04:45 +02:00
wmayer
6c0659711b Core: Do not save changes of a text object if the GUI document is about to be closed
This fixes #16873: Text document breaks some Analysis container objects
2024-10-02 20:42:00 -06:00
berniev
0c70d45c83 Gui: Use override etc 2 2022-08-09 12:43:23 +02:00
Uwe
aa7977c51a [Gui] Task* and Text*: remove unused includes 2022-03-05 17:44:07 +01:00
wmayer
65923bfdbf Gui: add virtual methods undoActions()/redoActions() to MDIView to simplify code in UndoDialog/RedoDialog 2021-10-23 15:15:09 +02:00
Mateusz Skowroński
2559f2d29c Fix build warnings from deprecated Boost headers (they are used internally by Boost). Thanks @wwmayer for the hint. 2020-12-29 10:20:53 +01:00
wmayer
53b01f08f9 Gui: improve usability of text document object 2020-03-17 11:36:03 +01:00
wmayer
9b5bbb6973 fix flaws to add PreCompiled.h inside normal header files 2020-02-03 15:03:49 +01:00
wmayer
d969581ff8 Gui: allow to set font family and size and syntax highlighting 2019-12-19 23:17:46 +01:00
wmayer
9ba5d3505c fix -Winconsistent-missing-override -Wunused-variable 2019-10-13 14:29:52 +02:00
wmayer
1bfe0f3bea fixes #0004125: MDIViews not accessible correctly 2019-09-15 18:15:44 +02:00
wmayer
ed87b819cb fix override warnings 2017-09-15 01:49:12 +02:00
Markus Hovorka
fc36dfed0d Add TextDocument with full size editor
A new document object App::TextDocument. It has a property Text which
holds the text of the document as a string. This commit also contains a
full size editor based on QPlainTextEdit. It can only be used by the
TextDocument and has a read only mode invoked for read only documents
(ReadOnly property set to true). The editor is invoked by a double
click on the TextDocument.
2017-07-04 19:36:10 +02:00