mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 06:51:51 +00:00
import '\t' to editor as 4 spaces
This commit is contained in:
parent
6736613dc2
commit
6e0434c5c8
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ events.on("core:open_traceback", function(traceback_b64)
|
||||||
if file.exists(frame.source) then
|
if file.exists(frame.source) then
|
||||||
callback = string.format(
|
callback = string.format(
|
||||||
"local editor = document.editor "..
|
"local editor = document.editor "..
|
||||||
"local source = file.read('%s') "..
|
"local source = file.read('%s'):gsub('\t', ' ') "..
|
||||||
"editor.text = source "..
|
"editor.text = source "..
|
||||||
"editor.focused = true "..
|
"editor.focused = true "..
|
||||||
"time.post_runnable(function()"..
|
"time.post_runnable(function()"..
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue