Skip to content

this is a notepad i am currently creating just for fun, check it out

Notifications You must be signed in to change notification settings

rising-dancho/_rich-text-editor-pyqt5-python-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

_notepad-pyqt5-python-

i had lots of difficulties putting this together, especially the tab functionality. since it created so many problems in relation to other functionalities, like figuring out how the computer would understand which text editor is currently being used, how to save texts from the current text editor, opening text file's contents onto one of the texteditor's tabs, and many more. I tried experimenting with inheritance and searched all over the internet. only to learn that the solution was getting the index of the currently selected tab and dynamically populating each tab with a separate textbox (that might sound simple, but if you don't know how to program that.. you'll have a very bad time.) fortunately, there are brilliant people in stackoverflow that helped me achieve this. @Alexander @A. Herlas @musicamante these people are legends. (you'll find them wherever the pyqt5 tag exists)

the project is still very much in progress, but it made learning pyqt5 an enjoyable process.. even though a confusing one (depending on how ambitious you are).

EDIT:

  • lmao!! hahahahaa!!! i just now realized the difference between a rich text editor (eg. microsoft word) vs. a text editor (like notepad). big difference!! a rich text editor produces a file that can handle fancy colors, tables, bullets, highlighting, etc. while a text editor cannot! simple text editors can only read and create plain text files and nothing else, just purely undecorated texts!! (so that's why when you try to open a .docx file in notepad you get gibberish letters because it can't parse those to .txt format)

damn.. but luckily i can save the file as .odt, .pdf, or .html extensions which allows a rich form for text editing. all this time i was thinking that i was creating something that can replace the boring notepad, but i was wrong. i didn't even understand clearly the capabilities of both.

NOTE:

  • this project has so many bugs that needs fixing. i am abbandoning the project for now for more urgent things to work on. anyone can use it without my permission.

[8/3/2022 - 9/25/2022]

image

[10/25/2022]

image

Experiment with Line Numbers: [10/31/2022]

Screenshot 2022-11-01 111232

About

this is a notepad i am currently creating just for fun, check it out

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages