Skip to content

"LTNoteBook" is a lightweight desktop notepad developed based on Qt6 and C++, supporting real-time Markdown highlighting, automatic saving, custom shortcut keys and multi-language switching.

License

Notifications You must be signed in to change notification settings

diandiancha/LTNoteBook

Repository files navigation

LTNoteBook

A feature-rich, lightweight text editor designed to boost writing efficiency.


✨ Key Features

Powerful Editing Functions

  • Multi-encoding Support: Supports mainstream encoding formats like UTF-8, UTF-16 LE/BE, and ANSI.
  • Smart Encoding Detection: Automatically identifies file encoding to prevent garbled text.
  • Markdown Highlighting: Built-in support for Markdown syntax highlighting.
  • Multi-file Management: Quickly switch between recent files and handle multiple documents simultaneously.

Smart Backup System

  • Automatic Backups: Automatically creates backups whenever a document is modified, preventing accidental data loss.
  • Deduplicated Backups: Keeps only the latest backup for each file to save storage space.
  • Backup Recovery: One-click access to the backup folder for easy restoration of previous versions.

Auto-Save Function

  • Real-time Saving: Configurable auto-save interval (10-300 seconds).
  • New Document Saving: Unnamed documents are also automatically saved to prevent unexpected loss.
  • Customizable Path: Flexible configuration of the auto-save location.

User-Friendly Experience

  • Multi-language Interface: Supports Chinese, English, and Japanese.
  • Customizable Hotkeys: All operations can be configured with custom shortcuts.
  • Windows File Association: Supports associating the editor with common text file formats.
  • Dark Theme: An eye-friendly dark interface design.

🚀 Getting Started

Installation & Usage

  1. Download the latest version from the Releases page.
  2. Unzip the files to any directory.
  3. Run LTNoteBook.exe.

Basic Operations

  • Ctrl+O: Open a file
  • Ctrl+S: Save a file
  • Ctrl+N: Create a new/clear a document
  • Ctrl+D: Delete the current file
  • Ctrl+Z/Y: Undo/Redo

File Association (Windows)

In the settings, you can associate LTNoteBook with common text file formats with a single click. Supported formats include:

  • Text files: .txt, .md, .log, .ini, .cfg, .conf
  • Programming files: .cpp, .h, .c, .hpp, .py, .js, .html, .css
  • Data files: .json, .xml

🎯 Supported File Formats

Automatically detects and supports the encoding of various text file formats, including but not limited to:

  • Plain text files (.txt)
  • Markdown documents (.md)
  • Source code files (.cpp, .h, .py, .js, etc.)
  • Configuration files (.ini, .cfg, .json, .xml, etc.)
  • Log files (.log)

⚙️ System Requirements

  • Operating System: Windows 10/11
  • Architecture: x64
  • Runtime: Qt 6.8.1
  • Disk Space: Approximately 50MB

🤝 Contributions

Welcome to submit Issues and Pull Requests!


📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

About

"LTNoteBook" is a lightweight desktop notepad developed based on Qt6 and C++, supporting real-time Markdown highlighting, automatic saving, custom shortcut keys and multi-language switching.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages