Sayeed Hossain

Web Security

Full-Stack Web Development

WP Experts

Sayeed Hossain

Web Security

Full-Stack Web Development

WP Experts

Advance Text Editor

See Demo

It is a text editor developed in python with gui using python’s tkinter library

A text editor is a type of computer program that edits plain text. Such programs are sometimes known as “notepad” software, following the naming of Microsoft Notepad.Text editors are provided with operating systems and software development packages, and can be used to change files such as configuration files, documentation files and programming language source code.

Our project considers creating a text editor using Graphical User Interface programming and Data Structures. So we have used python’s tkinter a GUI library to create all of the GUI part of our project and at some parts we have used heap data structure. This text editor can create a new text file, open an already exitsting ones, edit the text file, find and highlight the searched words, find and replace the searched words, undo the users last action. The special feature of our editor is that as we go on typing the words and if we require a suggestion to complete the word, we can press suggest and editor suggests a list of words based on the words present in the dictionary.txt file and also adds all these words typed on to that dictionary file. It is a very easy to use Text Editor giving all the basic operations, and also a suggestion operation.

Requires Python and Tkinter, os, PIL modules. Once the modules are installed you can run the editor using

$ python main.py

Menus & Functionality:

  • File:

    • New
    • Open
    • Save As…
    • Close
    • Exit
  • Edit and Right click in text window:

    • Undo
    • Cut
    • Copy
    • Paste
    • Delete
    • Select All
  • Format:

    • Word Wrap
  • Tabs:

    • Right Click
      • New Tab Option
    • Center Click
      • Close Tab
    • Drag
      • Rearrange Tab
  • Keyboard Shortcuts:

    • Ctrl-s: Save
    • Ctrl-o: Open
    • Ctrl-w: Close tab
    • Ctrl-n: New tab
    • Ctrl-tab: Next tab
    • Ctrl-shift-tab: Previous tab
    • Ctrl-u: Undo
    • Ctrl-y: Redo