We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
Is the following NG?
NbDocument.runAtomic(document, new Runnable() { @Override public void run() { try { document.remove(0, length); document.insertString(0, result, null); } catch (BadLocationException ex) { Exceptions.printStackTrace(ex); } } }); if (editor != null) { editor.setCaretPosition(Math.max(0, Math.min(caret, document.getLength()))); }
https://github.com/markiewb/eclipsecodeformatter_for_netbeans/blob/master/src/de/markiewb/netbeans/plugins/eclipse/formatter/EclipseFormatterUtilities.java#L59-L63
Sorry, something went wrong.
@junichi11 : Yes it works. Thanks. I will integrate it.
👍 You are welcome :)
issue #18: run atomic to prevent empty entries in undo buffer
992bb20
Fixed in 1.5
markiewb
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: