Skip to content

Releases: SHAYKHUL/writer

Release v1.0: Advanced Python Text Editor

06 Dec 12:51
686e859
Compare
Choose a tag to compare

Release v1.0: Advanced Python Text Editor

Overview:

This is a feature-rich text editor built with Python and PyQt5. It is designed to be a simple yet powerful tool for writing, editing, and running Python code directly from the editor. The editor includes basic text formatting, syntax highlighting for Python, file operations (open/save), and a simple "Find" functionality. It also allows you to execute Python code within the editor and view the output in a separate window.

Features:

  • Python Syntax Highlighting: Basic syntax highlighting for Python keywords (such as def, class, if, else, etc.).
  • Text Editing: A rich text editor where you can type and edit Python code or any plain text.
  • Code Execution: Directly run Python code from the editor and view the output or errors in a pop-up window.
  • File Operations: Open and save text files (including Python scripts).
  • Undo/Redo: Support for undo and redo operations.
  • Text Formatting: Toggle bold and italic styles for selected text.
  • Word Count: Displays the word count of the current document.
  • Cursor Position: Displays the current line and column of the cursor.
  • Search Functionality: A basic search function to find and highlight text within the editor.
  • Status Bar: Displays various status messages, including word count, cursor position, and code execution status.

Technologies Used:

  • Python 3.x: Programming language used to build the editor.
  • PyQt5: GUI framework for building the desktop application.

Installation Instructions:

  1. Clone the repository:

    git clone https://github.com/SHAYKHUL/writer.git
  2. Navigate to the project directory:

    cd advanced-python-text-editor
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Run the editor:

    python main.py

How to Use:

  • Open a file: Go to File > Open or press Ctrl+O to load a text file into the editor.
  • Save a file: Save your work using File > Save or press Ctrl+S.
  • Run Python Code: To run Python code, type the code in the editor and press Ctrl+R or click the "Run" button. The output will appear in a new window.
  • Find text: Use the "Find" toolbar to search for text within the editor. Press Enter or click "Find" to locate the term.
  • Text Formatting: Use the "Format" toolbar to toggle bold or italic formatting.

Changelog:

v1.0 - Initial Release

  • First public release of the advanced Python text editor.
  • Features: syntax highlighting for Python, code execution, file operations, word count, text formatting, search, and more.

Future Plans:

  • Expand language support for syntax highlighting (e.g., C, C++, Java).
  • Improve code autocompletion and editor features.
  • Add customizable themes and font options.
  • Integrate more advanced error handling and debugging features.

Contributing:

Contributions are welcome! If you find a bug or have an idea for a feature, feel free to open an issue or submit a pull request. Please follow the standard GitHub contributing guidelines.

License:

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.


Full Changelog: https://github.com/SHAYKHUL/writer/commits/v1.0.0