Repository navigation
Code-2-TXT_v1.1.0.0
Code-2-TXT v1.1.0.0 - Release Notes
New features
Options dialog. Replaces the old yes/no mode prompt with a single window containing radio buttons for Main-file vs Folder mode (each with an inline explanation), a checkbox to enable output splitting, and a spinbox for lines-per-part (default 5000, min 100, max 100000). OK/Cancel with keyboard shortcuts (Enter/Esc).
Output splitting. When enabled, the combined output is split across numbered part files (name.part01of03.txt, etc.) near the chosen line target. Splits land on file boundaries where possible. If a single file is larger than the threshold, it's split across parts on line boundaries with explicit continuation markers (FILE START (CONTINUED), SEGMENT n of m, FILE SEGMENT END (MORE IN NEXT PART)) so the pieces can't be mistaken for separate files. Reassembling segments in order reproduces the original file byte-for-byte. Each part ends with a summary footer listing its own entries and the full layout across all parts.
Single-file mode preserved. Splitting off keeps the original behavior: one combined file with an === MANIFEST === listing all entries.
App icon. The window and the built .exe carry an embedded icon.ico (appears in the taskbar, file explorer, and Properties > Details).
Hidden console. The frozen .exe builds as a console app for diagnosability but hides its console window at launch via SW_HIDE, so no black background window or taskbar entry appears for users.
Build system
Reproducible Windows build (BUILD_EXE.bat). Pins Python to 3.13.12 exactly; if absent, prints the python.org download link and stops. Creates and activates a venv, installs pinned build dependencies from requirements.txt, then runs PyInstaller with -F --noupx --clean --console --version-file version.txt. Detects icon.ico and adds --icon / --add-data when present, so the build works with or without the icon.
version.txt is the hand-edited VSVersionInfo(...) block passed directly to --version-file. Edit the four numeric tuples and the FileVersion/ProductVersion strings to bump the version, then rebuild — Windows shows it under Properties > Details.
requirements.txt pins pyinstaller==6.16.0 and pyinstaller-hooks-contrib==2025.9. The app itself has no runtime dependencies beyond the Python standard library.
.gitignore added for build output (build/, dist/, *.exe), the venv, regenerated specs, Python caches, editor/OS noise, and the tool's own combined/split output files.
Documentation
README updated to cover the options dialog, the split-output format, the segment markers used when a single file is too large, and the build steps.