mirror of
https://github.com/Relintai/Godot-TextEditor.git
synced 2025-02-04 19:15:54 +01:00
gdignore fix
This commit is contained in:
parent
01facc81ad
commit
dcdab0b9c1
@ -1,6 +1,7 @@
|
|||||||
# 1.1
|
# 1.1
|
||||||
- Added `addons` folder hider option.
|
- Added `addons` folder hider option.
|
||||||
- Preserve folder open/close state.
|
- Preserve folder open/close state.
|
||||||
|
- Fixed directories with `.gdignore` not hiding.
|
||||||
- Fixed files and directories not being sorted.
|
- Fixed files and directories not being sorted.
|
||||||
- Fixed "failed to load settings" error.
|
- Fixed "failed to load settings" error.
|
||||||
- Tweaked syntax coloring.
|
- Tweaked syntax coloring.
|
||||||
|
@ -707,7 +707,7 @@ func _scan_dir(id:String, path:String, dir:Directory, last_dir:Dictionary, old_l
|
|||||||
var file_path = dir.get_current_dir().plus_file(fname)
|
var file_path = dir.get_current_dir().plus_file(fname)
|
||||||
|
|
||||||
if dir.current_is_dir():
|
if dir.current_is_dir():
|
||||||
if show_dir(fname, file_path.get_base_dir()):
|
if show_dir(fname, file_path):
|
||||||
var sub_dir = Directory.new()
|
var sub_dir = Directory.new()
|
||||||
sub_dir.open(file_path)
|
sub_dir.open(file_path)
|
||||||
_scan_dir(fname, file_path, sub_dir, a_dirs_and_files, old_last_dir.get("all", {}).get(fname, {}))
|
_scan_dir(fname, file_path, sub_dir, a_dirs_and_files, old_last_dir.get("all", {}).get(fname, {}))
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
name="TextEditor"
|
name="TextEditor"
|
||||||
description="A text editor for Godot."
|
description="A text editor for Godot."
|
||||||
author="teebar"
|
author="teebar"
|
||||||
version="1.0"
|
version="1.1"
|
||||||
script="plugin.gd"
|
script="plugin.gd"
|
||||||
|
1
gdignore folder/.gdignore
Normal file
1
gdignore folder/.gdignore
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
1
gdignore folder/Can't see me.txt
Normal file
1
gdignore folder/Can't see me.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
Loading…
Reference in New Issue
Block a user