Skip to content

Commit

Permalink
Merge pull request vrapper#70 from richq/master
Browse files Browse the repository at this point in the history
Join without space when next line starts with ')'
  • Loading branch information
keforbes committed Jun 3, 2012
2 parents f6eed4f + 46d6e25 commit ad3ee62
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ public static void doIt(EditorAdaptor editorAdaptor, int count, boolean isSmart)
glue = "";
for (int j = 0; j < secondLine.length() && Character.isWhitespace(secondLine.charAt(j)); j++)
bolOffset++;
if (modelContent.getText(bolOffset, 1).charAt(0) == ')')
glue = "";
} else
glue = "";
modelContent.replace(eolOffset, bolOffset - eolOffset, glue);
Expand Down

0 comments on commit ad3ee62

Please sign in to comment.