mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 18:20:43 +00:00
Fixed: AS 1/2/3 - Fast switching of scripts causing incorrect caret position remembered
Fixed: AS 1/2 - Remembering caret position for frames
This commit is contained in:
@@ -420,6 +420,19 @@ public abstract class GraphTextWriter {
|
||||
public GraphTextWriter startBlock() {
|
||||
return startBlock("{");
|
||||
}
|
||||
|
||||
/**
|
||||
* Starts block, but do not continue to new line.
|
||||
* @return GraphTextWriter
|
||||
*/
|
||||
public GraphTextWriter startBlockNoNewLine() {
|
||||
if (formatting.beginBlockOnNewLine) {
|
||||
newLine();
|
||||
} else {
|
||||
append(" ");
|
||||
}
|
||||
return append("{");
|
||||
}
|
||||
|
||||
/**
|
||||
* Ends block.
|
||||
|
||||
Reference in New Issue
Block a user