sethwalkeroo / quiet-text Goto Github PK
View Code? Open in Web Editor NEWA simple Python text editor for programming and note taking.
License: MIT License
A simple Python text editor for programming and note taking.
License: MIT License
To add undo feature
Is your feature request related to a problem? Please describe.
I'm always frustrated when I can't specify the name of the file that should be opened when starting the application from the command line.
Describe the solution you'd like
Add a command line argument that you can use to specify the name of the file to open.
Describe alternatives you've considered
-
Additional context
I think the best option is to use the last argument as the file path.
python3 quiet_app_launch.py /path/to/somefile.txt
command will be used to start application with opening somefile.txt.
The path can be relative (from the current directory) or absolute.
When text auto-wraps to the following line, it's helpful to have the wrapped text also be indented more than the text above it.
I would like to implement that in the editor.
Here's an example:
( this is the margin )
| -------------------------------------------------|
(1) In the beginning God created the heavens and
the earth. (2) Now the earth was formless and empty
darkness was over the surface of the deep, and the
Spirit of God was hovering over the waters.
( this is the margin )
| -------------------------------------------------|
(1) In the beginning God created the heavens and
the earth. (2) Now the earth was formless and
empty darkness was over the surface of the deep,
and the Spirit of God was hovering over the
waters.
( this is the margin )
| -------------------------------------------------|
(1) In the beginning God created the heavens and
the earth. (2) Now the earth was formless
and empty darkness was over the surface of
the deep, and the Spirit of God was hovering
over the waters.
It would also be great to have a key binding associated as well.
Restyle the find and replace feature located in quiet_find.py to be more visually appealing and in tune with the rest of the editor's theme.
This is one of my favorite features in both Atom and Sublime text. It would be awesome to have a simple and easy way to change the font size.
Is your feature request related to a problem? Please describe.
This is a follow-up of #7 (comment)
It shall help contributors and users get up-to-speed with this project.
Describe the solution you'd like
A good README should contain the following items (IMHO)
Describe alternatives you've considered
From experience, I already learned myself how to setup most Python projects. You could make people research on their own.
But they will likely go looking elsewhere for a project instead of investing time โฆ
Additional context
You can read up more on pages like
I don't know why this is happening, but the settings get reset to their default values when a user changes the font size with scroll wheel.
Right now users can indent multiple lines using Tab but we also want them to be able to unindent multiple lines as well with Shift+Tab.
For some reason string do not get highlighted when used alongside parenthesis and bracket autocomplete.
This would be a great start for quality of life improvements in the editor.
Allow the user to select a chunk of text in the editor and hit tab to indent the entire block. Bonus points if you also implement a shift+tab command for unindenting the block of text.
Allow the editor to automatically indent after the beginning of a block.
Describe the bug
If you have Quiet-Text in installed in a Windows machine, running a py file (Ctrl+b), issues the gnome-terminal command causing it to not execute.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The code should instead run a child cmd terminal and execute the python command there.
Operating system :
Additional context
A simple fix would be to check the operating system and run separate commands.
Right now settings.json only effects the font, background color, and text color of the editor. It would be really cool for it to adjust things like line height and menu colors as well
For some reason, syntax highlighting doesn't work well on brand new files with few lines of code. This is a weird bug that is pretty inconsistent at times.
Right now we have a right click popup menu with three options: cut, copy, paste. None of these options actually do anything at the moment and that sucks. The goal is to add functionality to these popup options.
Quiet-Text is a Python text editor made with tkinter. Right now there is a "Quiet Mode" tab in the text editor's menu, but it doesn't currently do anything. The idea is that when you push the "Quiet Mode" button, it hides the menu bar and the status bar from the user's view. The only thing that should be visible is the text area of the application. I want this to function similar to Visual Studio Code's "Zen Mode" (as stated in the title).
Right now all the command work on Gnome terminals for linux, but I didn't exactly know how to write the bash commands for Windows, so some of the windows commands don't work. The functions are located inside quiet_menubar.py and the bash commands just need to be adjusted so they do what they're supposed to.
I am currently working on this issue.
This command works fine on linux, but it doesn't work on windows.
This is one of the more advanced and important issues to tackle.
In quiet_menubar.py I found a lot of duplicated code, e.g. separate methods for load each theme.
It can be refactored in an easy way.
Right now you can compile and run C files, but it only works with the gnome terminal on Linux. it would be great to have this work on Windows as well.
You can only use Python syntax inside the editor as of writing this issue, but that will change eventually, and it would be a good start to at least have the menu ready.
I recently added syntax support for C and JavaScript and it would be useful to be able to know what language you have selected from the menu cascade.
There is a default theme already in the theme configs, but it never changes. It would be cool if the user didn't have to reset their theme every time they reloaded the editor.
The pop up should either instantly save the file if it already exists, or allow the user to do the "save as" function if it has never been saved before.
This should be pretty. Add a section to the readme that displays all of the keybindings for the text editor.
E.G. ctrl + c | Copy
We just implemented font resizing with ctrl and mouse wheel but it still scrolls the screen while you resize the text. This is bad for long documents when you want to increase the text size but not scroll to the bottom at the same time.
Right now the editor always opens up with python syntax highlighting as its default. It would be cool if the user could set another language as their default if they prefer.
Right now you can run your javascript files through node, but it only works with the Gnome terminal on Linux. It would be awesome to have this work with the windows command prompt as well.
the start.bat and star.sh scripts try to open quiet_app_launch.py which is a file that doesn't exist
start.bat
python3 quiet_app_launch.py
start.sh
#!/bin/sh
/usr/bin/env`` python3 quiet_app_launch.py
This isn't too important, but it would be great to have comments explaining the code for new contributors. I will try to work on this in my spare time.
Right now you can highlight text in the editor, but all the text has to be highlighting in the same color. This sucks and it would be great to be able to highlight different text in different colors. Below is an example of three different highlights that were supposed to have different colors, but did not.
Right now there is an autoindentation function, but it only works for one line after a colon ":". It would be nice to have everything under the block be indented as well.
See #2 (comment)
This will explain how to provide a small Dockerfile for local development (in case Python isn't compiled with Tk support).
The editor has 6 color schemes/themes at the time of writing this: Monokai, Monokai Pro, Solarized, Gruvbox, Dark Heart, and Githubly. It would be cool to see some other popular themes for the editor as well. The themes are made with .yaml files inside the theme directory. You can enable the themes yourself by creating functions for loading the themes inside quiet_menubar.py, but that is not required, and I can handle that afterwards if needed.
Syntax highlighting has been added but it is super laggy when you make edits on larger files. This is most likely because the highlighter tries to re highlight the entire file on every keystroke, instead of just highlighting the characters in your current line. I would try to fix this issue right now, but I am really tired, and I need to go to sleep. I won't be able to assign anyone to the problem during that time, but you can still contribute!
The Search and Replace and File Tree windows are appearing outside of the editor/textarea and are not as quickly accessible as they should be because of that.
Right now you can edit the colors of the application in the settings.json file, but it would be nice if you could also select and look for hex colors inside the text editor. Implement a color wheel of sorts that allows users to copy and paste hex values without having to use google.
The file dialog text to display files listed in directories is white, and in effect, invisible to the user.It would be helpful to know the name of the file you are clicking on in the menu.
The editor has 5 themes at the time of writing this: Monokai, Monokai Pro, Solarized, Gruvbox, and Dark Heart. It would be cool to see some other popular themes for the editor as well. The themes are made with .yaml files inside the theme directory. You can enable the themes yourself by creating functions for loading the themes inside quiet_menubar.py, but that is not required, and I can handle that afterwards if needed.
Right now there are some booleans to disable/enable autoclosing inside of the config/settings.yaml file. The settings are not doing what they are supposed to right now and it would be good to be able to turn off these features if someone wants to.
Right now you can only have one document open at a time, and that greatly inhibits productivity. The goal is to create tabs that allows a user to switch between multiple opened documents.
A nice quality of life feature to have in any text editor.
Most of the code inside quiet_app_launch.py needs to be moved into quiet_textarea.py. The structure of the code is a mess and I can't add tabbed windows until CustomText contains all of text widget related functions and attributes.
This feature is for note taking and should only work in .txt files.
something
like
this
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.