setCharacterAttributes « JTextPane « Java Swing Q&A





1. How does setCharacterAttributes take account of '\n' and '\t'?    stackoverflow.com

I am working in school project for creating a simple IDE. In it I am processing the entire program as a single string like...

import java.io.*\npublic class A{\n...........\0
To trace all
/*comments*/
"strings"
'c'haracters 
/**Documentation*/
I am ...