mirror of
https://github.com/SuspiciousActivity/ByteEdit.git
synced 2026-08-13 17:56:17 +00:00
Added source for ByteEdit
This commit is contained in:
1 parent
32dacb30ff
commit
d29e5765af
352 files changed
+199016
No files matched your search
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
* 08/08/2012
|
||||
*
|
||||
* LispFoldParser.java - Fold parser for Lisp and related languages.
|
||||
*
|
||||
* This library is distributed under a modified BSD license. See the included
|
||||
* RSyntaxTextArea.License.txt file for details.
|
||||
*/
|
||||
package org.fife.ui.rsyntaxtextarea.folding;
|
||||
|
||||
import org.fife.ui.rsyntaxtextarea.Token;
|
||||
|
||||
|
||||
/**
|
||||
* Fold parser for Lisp and related languages.
|
||||
*
|
||||
* @author Robert Futrell
|
||||
* @version 1.0
|
||||
*/
|
||||
public class LispFoldParser extends CurlyFoldParser {
|
||||
|
||||
|
||||
@Override
|
||||
public boolean isLeftCurly(Token t) {
|
||||
return t.isSingleChar(Token.SEPARATOR, '(');
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean isRightCurly(Token t) {
|
||||
return t.isSingleChar(Token.SEPARATOR, ')');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user