-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
51 lines (39 loc) · 1.42 KB
/
Copy pathconfig.py
File metadata and controls
51 lines (39 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
APP_NAME = "pyNotes"
APP_VERSION = "1.0.0"
APP_AUTHOR = 'tothj'
APP_EMAIL = 'info@tothj.com'
APP_ICON = "assets/notes.ico"
WINDOW_DEFAULT_WIDTH = 1200
WINDOW_DEFAULT_HEIGHT = 800
WINDOW_THEME = "light"
SETTINGS_FILENAME = "pyNotesSettings.txt"
EDITOR_FONT_FAMILY = "Consolas"
EDITOR_FONT_SIZE = 13
MANUAL_TEXT = """# py-notes – Manual
## File operations
- **New** `Ctrl+N` — Open a new, empty document
- **Open** `Ctrl+O` — Open an existing plain-text file
- **Save** `Ctrl+S` — Save the current file
- **Save As** `Ctrl+Shift+S` — Save the file under a new name
- **Close** — Close the current document (keeps the app open)
- **Exit** — Quit the application
## Editing
- **Word Wrap** — Toggle automatic line wrapping from Edit > Word Wrap
- **Copy / Paste / Cut** — Standard clipboard operations (`Ctrl+C`, `Ctrl+V`, `Ctrl+X`)
- **Select All** `Ctrl+A` — Select the entire document
## Settings
The application uses a fixed light colour theme.
## Line numbers
Line numbers are always visible in the left margin.
With word wrap enabled, the number appears at the start of each logical line.
## Window state
The last window size and position are remembered between sessions.
On first launch the window opens centred at 1200 × 800.
"""
ABOUT_TEXT = f"""# About {APP_NAME}
**{APP_NAME}**
Version: {APP_VERSION}
E-mail: {APP_EMAIL}
A lightweight plain-text editor built with Python and PySide6.
{APP_AUTHOR} © 2026
"""