Git Product home page Git Product logo

quiet-text's Introduction

This is my github profile

Welcome

quiet-text's People

Contributors

0x4248 avatar aishuo07 avatar alejandrogomezfrieiro avatar allcontributors[bot] avatar anastasijakravtsova avatar erzaliator avatar filipzajdel avatar guiguerreiro39 avatar hrishikesharma avatar jakubgacki avatar jeffmikels avatar jianajavier avatar juliuschrona avatar kshitijsharma37 avatar pointthink avatar punidramesh avatar ryuno-ki avatar sethwalkeroo avatar sid200026 avatar sonnymilton avatar thainapires avatar thanarathanam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

quiet-text's Issues

Fix the build, run, and build+run commands so they work on Windows.

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.

Create some more color schemes for the text editor.

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.

Add comments to explain existing code

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.

Indent on wrap...

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:

normal soft-wrapping:

( 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.

same-level indent on soft-wrapped text

( 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.

extra indent on soft-wrapped text

( 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.

Create more themes/colorschemes for the editor

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.

Reorganize code

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.

Add a CLI argument to launch the application with opening the specified file

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.

Create a "Zen Mode" for the text editor

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).

Running a file in Windows machine doesn't run the code.

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:

  1. Open your python file.
  2. Press Ctrl+b.
  3. See the cmd terminal for error.

Expected behavior
The code should instead run a child cmd terminal and execute the python command there.

Screenshots
image

Operating system :

  • Windows 10

Additional context
A simple fix would be to check the operating system and run separate commands.

Allow users to highlight text in different colors

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.

Image of Yaktocat

Fix syntax highlighting lag

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!

Add a hex color wheel to the menu bar

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.

Add functionality to the right click popup menu

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.

Extend README.md

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)

  1. The name of the project (Personally, I put badges behind this line, i.e. build status or code coverage)
  2. A sentence of what it does. What problem does it solve? Perhaps at a GIF showing of it
  3. A single line of how to get a local installation running (virtualenv + clone + execution)
  4. How to execute tests (still missing here, e.g. tox or py.test)
  5. How to contribute (with a link to CONTRIBUTING.md)
  6. License (with a link to LICENSE.txt)

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.