Make optionally space visible (like in MS Word)

XMLWordPrintable

      There should be a short-cut and an menu icon to toggle the visibility of normal spaces.

      If visible, they should look like when they are visible in MS Word. This can be achieved by toggling the used font via CSS and create a custom font, that shows that character instead of the space, when spaces should be shown.

      For line breaks we already have whitespace tags (that we also need because of how a browser deals with whitespace), but we should always enter a new line in the open segment after the new line tag, so that it really looks like a new line also for the user (we need to make sure, that no extra space is saved for this in the segment table, when saving).

      Both should be true for the open segment and for closed segments as well.

      For the font to use we should use a font under https://openfontlicense.org/documents/OFL.txt license. It needs to be made sure, that the license is placed in the same dir as the font is in our codebase and that it is made clear, that the font is under this license. And we need to add the license as one of the licenses listed for translate5 open source licenses (get in touch with Thomas about that).

      The same font that we modify should be used from now on also as our font in the editor, if the space is NOT shown as dot. So we will then toggle between the modified and the unmodified version of the font.

            Assignee:
            Sasha
            Reporter:
            Marc Mittag [Administrator]
            Axel Becher, Leon Kiz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: