styledtext Questions

5

Solved

I was wondering if there is a straightforward way to display line numbers with StyledText text field - even if lines are wrapped. I'm using it in my application and if content gets to big, some lin...
Afrit asked 15/6, 2012 at 20:0

1

I need to prevent TextViewer making new lines after I press Enter key in case of preventNewLines flag is enabled. I have this piece of code: TextViewer myTextViewer = new TextViewer (myGroup, SW...
Winter asked 12/11, 2012 at 8:22

6

Solved

I'm trying to add emphasis to one work in a string im drawing using swing. I was advised to use HTML with the following code: Graphics2D g2 = (Graphics2D) g; g.drawString("this is something I wa...
Hannahhannan asked 10/12, 2012 at 13:22

1

Solved

I have a long text which I want to break into multiple pages. Also I need a way to style this text.
Sid asked 25/11, 2013 at 22:5

1

Solved

Possible Duplicate: What components should I use for building a Java WYSIWYG HTML editor I'm a total newbie in Java programming. I have to do text editor in Swing/AWT and I have one q...
Thibaut asked 1/1, 2013 at 23:33

1

I'm looking for the best data structure to add styles to a text (say in a text editor). The structure should allow the following operations: Quick lookup of all styles at absolute position X Quic...
Penknife asked 15/11, 2010 at 15:3
1

© 2022 - 2024 — McMap. All rights reserved.