Request for better visualization of line breaks

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 7
    • Component/s: client-libs

      When a portion of text in a text component is selected, it is customary to highlight line breaks, e.g. in the end of a paragraph. As of version 7, Swing renders a one-pixel vertical stripe, which is not always the best possible option (consider a heading typed in a large font - an extra pixel after it would not be noticeable at all).

      One approach to consider is to allocate some space for line breaks. How exactly much space to allocate should depend on the size of the symbol preceding the line break. We could then visualize the line break in several ways: paint selection or a 'pilcrow' symbol there.

      Note that currently Views responsible for line breaks have zero width. Implementing the above approach is therefore backward incompatible, since it affects layout.

            Assignee:
            Peter Zhelezniakov
            Reporter:
            Peter Zhelezniakov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: