JetUML icon indicating copy to clipboard operation
JetUML copied to clipboard

Feature for underlining and italics?

Open enes-yumer-vinci opened this issue 2 years ago • 2 comments

Hi, I have been using JetUML for my studies. However, I need to underline text and the feature isn't available. Would it be possible to add it?

Thank you

enes-yumer-vinci avatar Nov 10 '23 11:11 enes-yumer-vinci

Currently looking into it.

prmr avatar Nov 14 '23 17:11 prmr

Users can now underline and italicize their static and abstract elements, respectively, using markups.

  • Underlining markup: Surround the desired element with underscores. This is only allowed for class attributes and methods. E.g. _getArea(): double_
  • Italics markup: Surround the desired element with forward slashes. This is only allowed for class names and methods. E.g. /Shape/

Notes:

  1. Any leading or trailing spaces before or after the markups will result in the markup not being applied.
  2. A combination of underlining and italicizing is not supported since an element cannot be both static and abstract. More precisely, /_ XXX _/ would make the element abstract and _/ XXX /_ would make it underlined. Only the outside decoration would be applied.

jkcoding7 avatar Feb 15 '24 17:02 jkcoding7