Opened 5 years ago
Last modified 5 years ago
#15542 new bug
StyledEdit should distinguish plain text documents from Rich Text ones
Reported by: | bitigchi | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/StyledEdit | Version: | R1/Development |
Keywords: | plain text, rich text, dark mode, theming, light mode | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
As far as I can see, StyledEdit cannot distinguish plain text documents from documents with rich text. A better approach would be:
- StyledEdit should have two modes for documents: Plain, and Rich Text
- StyledEdit should be able to toggle between these two
- Until theming is introduced, in plain text mode StyledEdit should update document text colour and document background colour as the colours change
- Once theming is introduced:
- StyledEdit should have an option to change document background colour to dark/light manually, and update the text colour as well
- In Rich Text mode, behaviour in a. should be kept as well.
Just for the record. Thanks to everyone who have contributed so far.
Note:
See TracTickets
for help on using tickets.
Hey, StyledEdit does not destinquish between the two because there is no difference :), you can edit plain text files in StyledEdit fine and they will look correct to any app or other editor accessing it, this is because the rich text info is stored in a file attribute.
I am not sure what your problem with the current behaviour is, i was cerainly suprised that it printed with my bg color and fg color, but that seems like a problem with the print interface.
StyledEdit does pick the system background color by default also.