mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
Dynamic comment field for value editing with validation feedback
- Comment shows "Enter=Save Esc=Cancel" when valid, "! value" when invalid - Only updates on validation state change to avoid lag - Uses deferred timer for Scintilla document sync - Added tests for comment echo and validation error display
This commit is contained in:
@@ -473,8 +473,8 @@ enum class EditTarget { Name, Type, Value };
|
||||
// Column layout constants (shared with format.cpp span computation)
|
||||
inline constexpr int kFoldCol = 3; // 3-char fold indicator prefix per line
|
||||
inline constexpr int kColType = 10;
|
||||
inline constexpr int kColName = 24;
|
||||
inline constexpr int kColValue = 22;
|
||||
inline constexpr int kColName = 22;
|
||||
inline constexpr int kColValue = 8;
|
||||
inline constexpr int kColComment = 28; // "// Enter=Save Esc=Cancel" fits
|
||||
inline constexpr int kSepWidth = 2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user