# PyE **Repository Path**: nwpu-ercesi_zhangm/PyE ## Basic Information - **Project Name**: PyE - **Description**: Ultra-lightweight editor for Python-only environments. - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-03-07 - **Last Updated**: 2025-03-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #+TITLE: PyE Editor Documentation * Features ** Core Functionality - Ultra-lightweight Python editor with syntax highlighting - Cross-language support through syntax definition files ** Syntax Highlighting *** SystemVerilog - Syntax file: systemverilog.syn - Supported features: Preprocessor directives, system tasks, comments, strings *** Python - Syntax file: python.syn.json (JSON format) - Supported features:\ - Keywords: def/class/if/else/try/except etc.\ - Types: int/str/list/dict etc.\ - Strings: Single/double quotes with escape characters\ - Numbers: Integers/floats/different base representations\ - Comments: Single-line (#) and multi-line (""") * File Type Detection - Automatic syntax selection by extension:\ .sv → SystemVerilog\ .py → Python * Testing Instructions 1. Open test files:\ - SystemVerilog: syn_test.sv\ - Python: syn_test.py 2. Verify syntax highlighting correctness 3. Check color differentiation between syntax elements ** Advanced Features - Customizable syntax definitions via .syn files - Non-destructive editing with undo/redo - Cross-platform support (Windows/Linux/macOS) * Installation ** Requirements - Python 3.6+ - Tkinter GUI library ** Quick Start #+BEGIN_SRC sh git clone https://gitee.com/nwpu-ercesi_zhangm/PyE.git cd PyE python PyE.py #+END_SRC * Usage ** Basic Editing - Use menu commands or shortcuts: - Ctrl+O: Open file - Ctrl+S: Save file - Ctrl+Shift+S: Save As ** Column Editing Mode 1. Alt+Click to set initial column 2. Drag to select multiple columns 3. Type/edit simultaneously in all selected columns * License - MIT License Copyright © 2025 mez62 - Full license text in source headers * Support ** Known Issues - Report bugs via:\ - Gitee Issues: https://gitee.com/nwpu-ercesi_zhangm/PyE/issues\ - Email: mez62@qq.com ** Roadmap - Plugin system for extended functionality - Integrated terminal support - Version control integration - Enhanced C/C++/Python syntax support