Opened 4 years ago

Last modified 4 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:

  1. StyledEdit should have two modes for documents: Plain, and Rich Text
  2. StyledEdit should be able to toggle between these two
  3. Until theming is introduced, in plain text mode StyledEdit should update document text colour and document background colour as the colours change
  4. Once theming is introduced:
    1. StyledEdit should have an option to change document background colour to dark/light manually, and update the text colour as well
    2. In Rich Text mode, behaviour in a. should be kept as well.

Just for the record. Thanks to everyone who have contributed so far.

Change History (1)

comment:1 by nephele, 4 years ago

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.

Note: See TracTickets for help on using tickets.