3

Is there a way to show different fonts/font-sizes depending on whether it's a Java function name, or keyword, etc?

2
  • I'm not sure that you can, short of writing your own renderer. Commented Jun 10, 2012 at 22:23
  • That sounds quite complex Phil Commented Jun 11, 2012 at 0:17

1 Answer 1

1

If no one else is going to say anything then I'll say no, there's no way to have different fonts and sizes in a single Text editor. The editor has as part of its internal configuration a means to determine which text is a reserved word, comment, etc. and the editor framework is able to color the text based on that syntactic parsing. However, there is no support for changing the font or font size of the text.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.