📄 textline.java
字号:
/*File: TextLine.javaAuthor: zerksis d. umrigar (zdu@acm.org)Copyright (C) 1997 Zerksis D. UmrigarLast Update Time-stamp: "97/07/19 19:59:55 zdu"This code is distributed under the terms of the GNU General Public License.See the file COPYING with this distribution, or http://www.fsf.org/copyleft/gpl.htmlTHERE IS ABSOLUTELY NO WARRANTY FOR THIS PROGRAM.*/package zdu.zydebug;import zdu.zydebug.TextMark;import java.awt.Color;class TextLine { TextLine(String text) { this.text= text; marks= null; } void addTextMark(Color c) { addTextMark(0, text.length(), c); } void addTextMark(int lo, int hi, Color c) { marks= new TextMark(lo, hi, c, marks); } String text; //Contents of TextLine. TextMark marks;};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -