feat: add line numbers to Production ID input widget

- Integrate tklinenums library for line number display
- Line numbers appear on the left side in black color
- Line numbers are always visible (even with placeholder)
- Line numbers sync with text scrolling
- Add tklinenums>=1.7.0 to requirements.txt

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Misaka
2026-02-11 22:10:38 +08:00
parent ee0b4187d7
commit 28d7db26db
2 changed files with 58 additions and 17 deletions

View File

@@ -19,3 +19,4 @@ numpy>=1.24.0
python-dateutil>=2.8.0
pytz>=2023.0
python-dotenv>=1.0.0
tklinenums>=1.7.0