mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 16:10:45 +00:00
Added Configurable tab size (formatting must be set to use tabs) - default matches indent size of 3
Fixed #2021 Indent continuation when using tabs
This commit is contained in:
@@ -163,7 +163,8 @@ public class UndoFixedEditorPane extends JEditorPane {
|
||||
((SyntaxDocument) doc).setIgnoreUpdate(false);
|
||||
}
|
||||
|
||||
doc.putProperty(PlainDocument.tabSizeAttribute, Configuration.indentSize.get());
|
||||
doc.putProperty(PlainDocument.tabSizeAttribute, Configuration.tabSize.get());
|
||||
doc.putProperty("jpexs:useTabs", Configuration.indentUseTabs.get());
|
||||
|
||||
setDocument(doc);
|
||||
} catch (BadLocationException | IOException ex) {
|
||||
|
||||
@@ -743,3 +743,8 @@ config.description.displayAs3PCodePanel = Show panel with disassembled P-code in
|
||||
|
||||
config.name.flaExportUseMappedFontLayout = FLA export - use mapped font layout
|
||||
config.description.flaExportUseMappedFontLayout = Use assigned source font advance values when determining letterspacing when actual font has no layout during FLA export.
|
||||
|
||||
#after 20.0.0
|
||||
|
||||
config.name.formatting.tab.size = Tab size
|
||||
config.description.formatting.tab.size = Number of spaces per tab
|
||||
@@ -733,3 +733,8 @@ config.description.displayAs3PCodePanel = Zobrazit panel s instrukcemi disassemb
|
||||
|
||||
config.name.flaExportUseMappedFontLayout = FLA export - pou\u017e\u00edvat namapovan\u00e9 rozvr\u017een\u00ed p\u00edsem
|
||||
config.description.flaExportUseMappedFontLayout = B\u011bhem FLA exportu pou\u017e\u00edvat advance hodnoty z p\u0159i\u0159azen\u00e9ho zdrojov\u00e9ho p\u00edsma p\u0159i ur\u010dov\u00e1n\u00ed letterspacing hodnoty kdy\u017e vlastn\u00ed p\u00edsmo nem\u00e1 rozvr\u017een\u00ed
|
||||
|
||||
#after 20.0.0
|
||||
|
||||
config.name.formatting.tab.size = Velikost tabel\u00e1toru
|
||||
config.description.formatting.tab.size = Po\u010det mezer v tabel\u00e1toru
|
||||
Reference in New Issue
Block a user