Created
April 30, 2015 16:07
-
-
Save drguildo/1edbca6053e11b058723 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (buffer.startsWith(" ")) { | |
String trimmed = buffer.trim(); | |
matchStart += buffer.indexOf(trimmed.charAt(0)); | |
buffer = buffer.substring(matchStart); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment