mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41: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
|
||||
callback = string.format(
|
||||
"local editor = document.editor "..
|
||||
"local source = file.read('%s') "..
|
||||
"local source = file.read('%s'):gsub('\t', ' ') "..
|
||||
"editor.text = source "..
|
||||
"editor.focused = true "..
|
||||
"time.post_runnable(function()"..
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue