Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Implement a text editor feature #875

Merged
merged 3 commits into from
Nov 12, 2020
Merged

Implement a text editor feature #875

merged 3 commits into from
Nov 12, 2020

Conversation

Animus-Surge
Copy link
Contributor

Not sure if this would be useful or not, but I added a text editor that you can use through the file system. You can click a file in the file explorer and it will open a popup that displays the filename (and extension), and the content of the file that's currently there. I've provided screenshots as well.

Capture
Open in the tron-disrupted theme

Capture2
Open in the red theme

Right now, the only kinds of files that can be opened are HTML, CSS, Javascript, XML, Yaml, Java, C#, C++ and H, Markdown, Batch and Shell, GDscript (godot engine), JSON (excludes the themes, keyboards, settings.json, and shortcuts.json), plain text, and log files, though that list can be expanded as needed.

In the future, I might try to make the different file types able to be differentiated by their icons, though that's a project for another day. I might also have the text inside the textarea a little bigger, and maybe always white, because the red theme is really hard to read from the default monospace font. Lmk if I need to make any changes

@StoiaCode
Copy link

Looks good. I mean always could just use nano or whatever in the CLI, but another r option is another option I guess :D

Repository owner deleted a comment from rodrigovssp Nov 10, 2020
@jvanslooten
Copy link

Just started using eDEX UI, this is pretty sweet

Copy link
Owner

@GitSquared GitSquared left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hell, why not. Thanks!

@GitSquared GitSquared merged commit 6da52a8 into GitSquared:master Nov 12, 2020
@razaamir
Copy link

razaamir commented Nov 12, 2020 via email

@lebarde lebarde mentioned this pull request Nov 25, 2020
18 tasks
eugene2candy pushed a commit to eugene2candy/edex-ui that referenced this pull request Apr 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants