/jEdit/tags/jedit-4-3-pre5/org/gjt/sp/jedit/msg/CaretChanging.java
Java | 15 lines | 12 code | 3 blank | 0 comment | 0 complexity | 396bfe719c910bd1b75f04f54e1dd01a MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- package org.gjt.sp.jedit.msg;
- import org.gjt.sp.jedit.textarea.JEditTextArea;
- public class CaretChanging extends TextAreaUpdate
- {
- JEditTextArea jta;
- int caret;
- public CaretChanging(JEditTextArea jta) {
- super(jta, TextAreaUpdate.CARET_CHANGING);
- this.jta = jta;
- caret = jta.getCaretPosition();
- }
- }