feat: enhanced status bar with word count, char count, line/col, encoding

- Restructured status bar into left/right sections with separators
- Added character count, cursor line/column position, encoding, and language mode indicators
- Added cursor position tracking via CodeMirror onUpdate callback
- Added file path display that updates on tab switch
- Simplified word count display for cleaner status bar layout
This commit is contained in:
2026-03-04 15:50:31 +05:30
parent affe1a7e33
commit 37502fb733
4 changed files with 67 additions and 25 deletions
+3 -1
View File
@@ -323,10 +323,12 @@ body {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 20px;
padding: 2px 12px;
/* Background and color controlled by theme */
font-size: 12px;
font-weight: 500;
min-height: 24px;
flex-shrink: 0;
}
/* Preview Styles - Modern Typography */