keywordlookupif.java
来自「优秀的打印控件全源代码,类似水晶表的设计器!」· Java 代码 · 共 34 行
JAVA
34 行
/* * KeywordMap.java - Fast keyword->id map * Copyright (C) 1998, 1999 Slava Pestov * Copyright (C) 1999 Mike Dillon * * You may use and modify this package for any purpose. Redistribution is * permitted, in both source and binary form, provided that this notice * remains intact in all source distributions of this package. */package org.syntax.jedit;import org.syntax.jedit.tokenmarker.*;import javax.swing.text.Segment;/** * A <code>KeywordLookupIF</code> provides a mean to extends the number of * keywords for a CTokenMarker easily. * * @author Kees Kuip * @version $Id: KeywordLookupIF.java,v 1.1 2004/02/14 14:13:42 keeskuip Exp $ */public interface KeywordLookupIF{ /** * Looks up a key. * @param text The text segment * @param offset The offset of the substring within the text segment * @param length The length of the substring */ public byte lookup(Segment text, int offset, int length);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?