PageRenderTime 49ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/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
  1. package org.gjt.sp.jedit.msg;
  2. import org.gjt.sp.jedit.textarea.JEditTextArea;
  3. public class CaretChanging extends TextAreaUpdate
  4. {
  5. JEditTextArea jta;
  6. int caret;
  7. public CaretChanging(JEditTextArea jta) {
  8. super(jta, TextAreaUpdate.CARET_CHANGING);
  9. this.jta = jta;
  10. caret = jta.getCaretPosition();
  11. }
  12. }