[#1354] Various FLA export problem fixes

This commit is contained in:
2017-02-27 12:28:11 +01:00
parent 3e99d19a1d
commit ceffd8bdb5
3 changed files with 46 additions and 31 deletions
@@ -341,8 +341,10 @@ public class LineMarkedEditorPane extends UndoFixedEditorPane implements LinkHan
Rectangle r;
try {
r = modelToView(pos);
if (lastPos.x < r.x) {
pos--;
if (r != null) {
if (lastPos.x < r.x) {
pos--;
}
}
} catch (BadLocationException ex) {
//ignore