mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Normalize: split lines by 'at...'
This commit is contained in:
@@ -256,7 +256,10 @@ public class UnscrambleDialog extends DialogWrapper{
|
||||
|
||||
static String normalizeText(@NonNls String text) {
|
||||
StringBuilder builder = new StringBuilder(text.length());
|
||||
|
||||
text = text.replaceAll("(\\S[ \\t\\x0B\\f\\r]+)(at\\s+)", "$1\n$2");
|
||||
String[] lines = text.split("\n");
|
||||
|
||||
boolean first = true;
|
||||
boolean inAuxInfo = false;
|
||||
for (String line : lines) {
|
||||
|
||||
Reference in New Issue
Block a user