Skip to content

Commit

Permalink
Merge pull request #410 from RPTools/revert-399-midline-newline-fix
Browse files Browse the repository at this point in the history
Revert "Fixes #398. Changed addition of newline character to be at cursor…"
  • Loading branch information
JamzTheMan committed Mar 31, 2019
2 parents b95bd51 + 54765e0 commit 4e60256
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
16 changes: 0 additions & 16 deletions CHANGE_LOG.md
@@ -1,19 +1,3 @@
Maptool 1.5.2
=====

___

Bug Fixes
-----
* [#398][i398] - Fixed insertion of newline being only at the end of the command pane

Enhancements
-----



[i398]: https://github.com/RPTools/maptool/issues/398

MapTool 1.5.1
=====
A minor update to 1.5.0 consisting of bug fixes and small enhancements.
Expand Down
Expand Up @@ -527,7 +527,7 @@ public void cancelCommand() {
/** Inserts a newline into the chat input box. */
public void insertNewline() {
String text = commandTextArea.getText();
commandTextArea.replaceSelection("\n");
commandTextArea.setText(text + "\n");
}

public void startMacro() {
Expand Down

0 comments on commit 4e60256

Please sign in to comment.