Package jadx.gui.utils
Class CaretPositionFix
- java.lang.Object
-
- jadx.gui.utils.CaretPositionFix
-
public class CaretPositionFix extends java.lang.ObjectAfter class refresh (rename, comment, etc) the change of document is undetectable. So use Token index or offset in line to calculate the new caret position.
-
-
Constructor Summary
Constructors Constructor Description CaretPositionFix(AbstractCodeArea codeArea)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrestore()Restore caret position in refreshed code.voidsave()Save caret position by anchor to token under caret
-
-
-
Constructor Detail
-
CaretPositionFix
public CaretPositionFix(AbstractCodeArea codeArea)
-
-