autocompletion texteditor for java

/file/autocompletion texteditor for java/pe.jpg

Running codes
pom.xml http://bazaar.launchpad.net/~ryoji-kodakari/pisclex/pe/view/head:/pom.xml
java http://bazaar.launchpad.net/~ryoji-kodakari/pisclex/pe/view/head:/src/main/java/pisclex/texteditor/autocomplecion/Editor.java
application http://linguamicronizit.wikia.com/wiki/Pisclex_TextEditor

rsyntaxtextarea

pom.xml

		<dependency>
			<groupId>com.fifesoft</groupId>
			<artifactId>rsyntaxtextarea</artifactId>
			<version>1.5.0</version>
		</dependency>
		<dependency>
			<groupId>com.fifesoft</groupId>
			<artifactId>autocomplete</artifactId>
			<version>1.5.0</version>
		</dependency>
    private AutoCompletion ac;
    private CompletionProvider cp;
    private RSyntaxTextArea re;
            final DefaultCompletionProvider cp = new DefaultCompletionProvider();
            final Completion c = new BasicCompletion(cp, left, null, "<html><div style=\"padding:4px;\">" + rigt + "<hr>" + desc + "</div></html>");
            cp.addCompletion(c);
                re = new RSyntaxTextArea();
                re.setFont(new Font("Gentium Plus", Font.PLAIN, 18));
                re.setTextAntiAliasHint("VALUE_TEXT_ANTIALIAS_ON");
                re.setLineWrap(true);
        ac = new AutoCompletion(cp);
        ac.install(re);
        ac.setShowDescWindow(true);
        final RTextScrollPane sp = new RTextScrollPane(re);
        this.add(sp);
    last modified: 23 July 2011 [ View wiki source Close ]
     
SEARCH DIFFERENCE ATTACHMENT RECENT POST