Create Your Own Code Editor Using PyQt5 #8 - Refactoring File Manager and Adding Context Menu

preview_player
Показать описание
#python #codeeditor #pyqt5

Welcome back, in this episode we refactor the file manager code as it was getting pretty messy, so we separate it to a new file and a class. Also we add the context manager to create new files and new folder and delete and rename files.

➡️ About The Series:
Hello, this is a series where we make a fully working code editor that includes syntax highlighting, autocomplete, file manager, and all the other stuff that makes up a proper code editor/IDE

⏲️ Time Stamps

Links 🔗:

My Version:
This version of the code editor is the version I coded off cam and later implemented its feature in these videos, you can check it out if you want here
-------------------------------------------------------

Socials 💬:

Support Me 🪙:
Рекомендации по теме
Комментарии
Автор

Hello, how can take the files inside the folders?

felipecastillopedr
Автор

Hello, can we do a small collab? I have my small coding blog and you have really good coding skills. Thinking of doing something based on that!

shiveshtiwari
Автор

def GetTokens(self, Text) -> list[str, int]:
Pare =
return [(Token, len(bytearray(Token, "utf-8"))) for Token in Pare.findall(Text)]

def styleText(self, start: int, end: int) -> None:
self.startStyling(start)
Editors: QsciScintilla = self.parent()
Text = Editors.text()[start:end]
self.GetTokens(Text)

it is giving an error :
AttributeError: 'NoneType' object has no attribute 'text'

please tell the solution. Thanks! Big Fan Bro.

westernpictures
join shbcf.ru