wholder / CppSyntaxPane

CppSyntaxPane is a stripped down version of JSyntaxPane that only supports the syntax of the C++ programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CppSyntaxPane

CppSyntaxPane is a stripped down version of JSyntaxPane that only supports the syntax of the C++ programming language. I created CppSyntaxPane for use in my ATTiiny10IDE project and, to save space, I've tried to remove as much code unrelated to C++ as possible. In addition, the dynamic configuration feature based on Properties files has been removed and replaced with statically-assigned variables. This reduces the total size of CppSyntaxPane to less than 68 KB (vs 420 KB for JSyntaxPane.) You can run the class TestEditor to see CppSyntaxPane in action, or an executable .jar file for CppSyntaxPane can be downloaded here.

Features Inherited from JSyntaxPane

  • Syntax Coloring
  • Cut, Copy, Paste and Select All
  • Undo and Redo
  • Indent and Unindent
  • Clock on Parenthesis or Braces to Highlight Pairs
  • Find and Find Next (with support for Regular Expression, Ignore Case, etc.)
  • Replace and Replace All
  • Search for and Highlight all Matches
  • Goto Line Number

The original project JSyntaxPane can be found on google-code. The version of JSyntaxcPane this code is based on is a fork from the 0.9.6 branch with Hanns Holger Rutz's work applied.

The original project is (C)opyright by Ayman Al-Sairafi and released under the Apache License, Version 2.0.

About

CppSyntaxPane is a stripped down version of JSyntaxPane that only supports the syntax of the C++ programming language.

License:MIT License


Languages

Language:Java 100.0%