Releases: ObjectPresents/lancer-notes
v2.2.3
v2.2.0
Lancer Notes v2.2.2 - Changelog
Version 2.2.2 (November 25, 2025)
🎨 Theme & UI Improvements
Theme Dialog Layout Fixes
- Fixed oversized dialog width - Changed from fixed 1760px to responsive
min(1400px, 92vw) - Improved positioning - Centered dialog properly using
translate(-50%, -50%) - Enhanced flex layout - Added proper flex properties to all containers for better responsiveness
- Fixed scrolling behavior - Added independent scrolling for options column and preview area
- Added responsive breakpoints - New breakpoints at 1200px, 768px, and improved 540px mobile layout
- Separated action bar - Footer buttons now properly positioned with border and background
- Better touch support - Improved mobile experience with adjusted padding and sizing
- Fixed toolbar flexibility - Prevented toolbar squishing with
flex-shrink: 0
💻 Syntax Highlighting Enhancements
Local Syntax Highlighting Implementation
- Expanded language support - 40+ programming languages with intelligent alias mapping
- Added copy to clipboard - One-click code copying with visual feedback (checkmark animation)
- Enhanced code block UI - Professional header with language badge and copy button
- Beautiful color schemes - Light mode and dark mode syntax highlighting colors
- Light: Red keywords, green strings, purple functions
- Dark: Bright red, teal, light purple with OLED optimization
- Improved code styling - Monospace fonts (Fira Code, Consolas, Monaco) with proper spacing
- Custom scrollbars - Styled horizontal scrollbars for code blocks
- Inline code enhancement - Better background highlighting and contrast
Supported Languages
- Scripting: JavaScript, TypeScript, JSX/TSX, Python, Ruby, PHP, Perl, Go, Rust
- Shell: Bash, Zsh, PowerShell
- Markup: HTML, XML, SVG, Markdown
- Styling: CSS, SCSS, SASS, LESS
- Data: JSON, YAML, TOML, INI, SQL
- Compiled: Java, C#, C, C++, Swift, Kotlin
- Templating: Handlebars, and more
Code Block Features
- Language identification badge
- Copy button with instant feedback
- Syntax highlighting via Prism.js
- Status bar notifications on copy
- Proper line spacing and readability
- Dark/light mode support
⚙️ Settings System (Verified Complete)
Core Functionality
- ✅ Settings persistence with localStorage
- ✅ Auto-load on application startup
- ✅ Auto-apply settings to UI/editor
- ✅ Settings export to JSON file
- ✅ Settings import from JSON file
- ✅ Factory reset with full cleanup
Settings Categories
- General: Theme (Light/Dark/Auto), Auto-save, Default save location, Developer mode
- Editor: Font size, Font family, Editor font, Font weight, Font style, Line height, Google Fonts integration
- Preview: Live preview toggle, Preview editing, Preview word wrap
- Data & Privacy: Export/Import, Search history clearing, Full reset
- Extensions: File access, Network access, Clipboard access, Theme access permissions
- About: Version info, Build details, Changelog display
📝 Markdown Features
Supported Markdown Syntax
- Headers (H1-H6)
- Bold, Italic, Strikethrough
- Links and autolinks
- Images with positioning
- Code blocks with syntax highlighting
- Inline code
- Lists (ordered and unordered)
- Task lists
- Tables with formatting options
- Blockquotes
- Horizontal rules
- Definition lists (Extended Markdown)
- Superscript and subscript (Extended Markdown)
- Footnotes (Extended Markdown)
🔧 Editor Capabilities
Core Features
- Split-view, editor-only, and preview-only modes
- Live preview with synchronized scrolling
- Find and replace with regex support
- Undo/redo history (unlimited)
- Auto-save with localStorage fallback
- Word wrap toggle
- Line numbers (toggle via settings)
- Keyboard shortcuts for view modes (Ctrl+1, Ctrl+2, Ctrl+3)
File Operations
- Open files (File System Access API with fallback)
- Save files (with disk and localStorage support)
- Save As functionality
- Auto-save every 30 seconds (configurable)
- Recent files management
🎯 Extension System
Built-in Extensions
- Extended Markdown - Task lists, definition lists, footnotes, superscript, subscript
- GitHub Flavored Markdown - Tables, strikethrough, task lists, autolinks
- Syntax Highlighter - Advanced code highlighting with 40+ language support
- Spell Checker - Real-time spelling verification
Extension Management
- Easy install/uninstall
- Permission-based access control
- Extension data cleanup
- Installed badge display
- Clear descriptions and features
🌙 Dark Mode
Full Implementation
- System preference detection
- Manual theme selection
- Auto theme switching
- Consistent styling across all components
- OLED-optimized dark colors
- Custom scrollbar colors
- Proper contrast ratios
🖨️ Print Dialog
Features
- Print preview with live rendering
- Custom margin control
- Page size selection
- Orientation (Portrait/Landscape)
- Header/footer management
- Font size adjustment
- Paper preview
📦 Context Menu
Editor Context Menu
- Cut, Copy, Paste
- Select All
- Undo/Redo
- Find/Replace
- Bold, Italic, Highlight, Code formatting
- Link and image insertion
- Browser navigation (Back, Forward, Reload)
- Save As and Print
- View source code
Table Operations (in Preview)
- Add/remove cells, rows, columns
- Toggle header rows
- Table alignment and formatting
🎨 Visual Enhancements
UI Components
- Modern toolbar with grouping
- Icon-based buttons with Material Symbols
- Consistent spacing and alignment
- Smooth transitions and animations
- Hover effects and active states
- Status bar with real-time information
Styling
- Professional color palette
- Consistent border radius (8-16px)
- Proper box shadows
- Backdrop filters for modals
- Smooth color transitions in dark mode
🔍 Search & Replace
Features
- Live search highlighting
- Replace functionality
- Case sensitivity toggle
- Whole word matching
- Regex support with validation
- Search history with dropdown
- Status display (matches found)
- Keyboard navigation (Enter/Shift+Enter)
📊 Status Bar
Information Display
- Current file name
- Cursor position (Line, Column)
- Selection statistics
- Document statistics
- Real-time update on editor changes
- Mode indicators
⌨️ Keyboard Shortcuts
Key Mappings
- Ctrl+Z - Undo
- Ctrl+Y / Ctrl+Shift+Z - Redo
- Ctrl+H - Toggle Find/Replace
- Ctrl+1 - Split view
- Ctrl+2 - Editor only
- Ctrl+3 - Preview only
- Ctrl+B - Bold
- Ctrl+I - Italic
- Ctrl+Shift+X - Strikethrough
- Ctrl+Shift+H - Highlight
- Ctrl+M - Toggle compact mode
- F12 - Toggle developer tools
🚀 Performance
Optimizations
- Efficient DOM updates
- Debounced preview rendering
- Event listener cleanup
- Lazy loading of extensions
- Optimized CSS selectors
- Smooth animations with GPU acceleration
🐛 Bug Fixes
Fixed Issues
- Theme dialog responsive layout
- Syntax highlighting language detection
- Settings persistence reliability
- Copy button functionality
- Dark mode color consistency
- Scrollbar positioning in code blocks
- Modal centering and sizing
🎁 Quality of Life
User Experience
- Auto-save notification
- Status messages for actions
- Visual feedback on interactions
- Helpful tooltips on buttons
- Error messages with context
- Success confirmations
Previous Versions
Version 2.2.1
- Initial settings framework
- Theme system implementation
- Basic syntax highlighting
- Extension management
Version 2.2.0
- Core markdown editor
- Split-view mode
- Basic formatting toolbar
- File operations
Version 2.1.0
- Markdown parsing
- Preview rendering
- Basic styling
Known Limitations & Future Improvements
Current Limitations
- Maximum file size recommended: 10MB (depends on browser memory)
- Some advanced regex patterns may have edge cases
- Print preview rendering may differ slightly from actual print
Planned for Future Versions
- Collaborative editing support
- Cloud sync and backup
- Advanced plugin system
- Custom themes marketplace
- Markdown linting
- Advanced table editor UI
- Code block line numbers
- Minimap for large documents
- Multiple document tabs
Installation & Requirements
Browser Requirements
- Modern browser with ES6+ support
- LocalStorage enabled
- JavaScript enabled
- 50MB+ free disk space (for temporary files)
Recommended Browsers
- Chrome/Edge 88+
- Firefox 87+
- Safari 15+
- Opera 74+
System Requirements
- 512MB RAM minimum
- Stable internet connection (for Google Fonts API)
- Display resolution: 1024x768 minimum
Support & Documentation
Getting Help
- Check the Help menu (?) in the application
- Review the Changelog for recent changes
- Enable Developer Mode for debugging
Keyboard Shortcuts
Access from the Help menu or use Ctrl+? for quick reference
Extension Documentation
Each extension includes detailed description and feature list in the Extensions dialog
Acknowledgments
Technologies Used
- Prism.js for syntax highlighting
- Material Symbols for icons
- Bootstrap Icons as backup
- Google Fonts API for custom fonts
- Modern Web APIs (File System Access, Clipboard, etc.)
Contributors
Lancer Notes Development Team
Legal
License
MIT License - See LICENSE file for details
Privacy Policy
Your files are stored locally in your browser. No data is sent to external servers except for Google Fonts API requests.
Terms of Use
By using Lance...
v2.1.5
(07/11/2025)
- Feature updates in v2.1.5:
- Added table alignment dropdown consolidating column alignment controls.
- Introduced wrap-around toggle for Find/Replace navigation.
- Improved toolbar dropdown styling with dark-mode support.
- Fixes:
- Improved dark-mode preview readability for text and highlighted matches.
- Maintenance:
- Bumped application version to v2.1.5.
Full Changelog: v2.1.4...v2.1.5
v2.1.4
(03.11.2025)
- UI consistency improvements across the app:
- Standardized toolbar buttons to a consistent icon + text pattern.
- Unified popup title bars with blue headers, close buttons, rounded corners, and consistent shadows.
- Redesigned Find/Replace as a centered dialog with header, improved spacing, and dark-mode support.
- Replaced image cap prompt with a proper Image Cap dialog (validation, persistence, Enter-to-confirm).
- Dark-mode scrollbars across browsers (added color-scheme hints and custom scrollbar styling).
- Bumped application version to v2.1.4.
v2.1.3
(29/10/2025)
Features and improvements in v2.1.3:
- Implemented heading rendering inside blockquotes so Markdown headings within ">" blocks render as proper HTML headings.
- Added "image from link" auto-resize option (dialog checkbox). When enabled, the editor measures the linked image client-side and inserts responsive
markup with a configurable maximum width (default: 800px). Runtime cap can be adjusted via the toolbar control; preferences are persisted to localStorage (keys: md-auto-resize-images, md-auto-resize-max). Toolbar control id: #btn-image-cap.
- Word wrap (beta) improvements and details:
Works in both the editor and the preview. Long words and URLs wrap at safe boundaries to avoid horizontal scrolling.
Code blocks use white-space: pre-wrap while preserving indentation; inline code wraps without breaking layout.
Blockquotes, lists, and table cells are hardened to wrap content cleanly without overflow.
Toggle via toolbar button (#btn-wordwrap) or keyboard shortcut (Ctrl+Alt+W / Ctrl+Shift+W).
Preference persists in localStorage under md-word-wrap.
Credits: feature made by LoserFan2020 with contributions from Phuc and Hung. - Misc: reordered blockquote/header parsing so headings inside blockquotes render correctly, fixed related JavaScript and CSS syntax issues encountered during development, and applied small UX polish to dialogs and controls.
v2.2.0-beta-1
(28/10/2025)
Lancer25 Event Coming 11.11.25 - v2.2 Sneak Peak!
- Added support for editing directly in preview pane
- Implemented real-time synchronization between editor and preview
- Enhanced markdown-to-HTML conversion for better editing experience
- Improved bidirectional editing capabilities
- Added basic table functionality
- Implemented automatic update checking system
- All features from v2.1.4, v2.1.3, v2.1.2 ported to v2.2:
Word wrap (beta) with toolbar button and keyboard shortcut
Image auto-resize feature with configurable maximum width
Heading rendering inside blockquotes
Unified popup styling with blue headers
Dark-mode scrollbars with color-scheme support
Centered Find/Replace dialog
Undo/Redo history dropdown on hover
Improved undo/redo system with 250ms throttle for reduced lag
Dark-mode styling for history dropdown
v2.1.2
(26/10/2025)
- Small fixes and polish for v2.1.2:
- Fix dark-mode styling for the undo/redo history dropdown
- Keep history dropdown visible when hovering between the toolbar button and the menu
- Move changelogs to a local view and ensure the popup respects dark mode
- Improved undo/redo system with reduced lag (250ms throttle)
- Fixed changelog formatting and removed duplicate entries
- Renamed README.md to CHANGELOG.md for better organization
- Bumped application version to v2.1.2
v2.1.1
(25/10/2025)
No major updates for v2.1.1, as we do it to update v1.3.
New feature: Check for Updates (This was going to be included in v2.2, but because of v1.3 security patch, it have to be added)
v2.1
(23/10/2025)
We have updated those features for you and fixes bugs.
New feaures such as HR, Task, Align Table, Subscript and Superscript, Definition List and many more features.
More features coming soon such as Autocorrect, Rewrite and Extensions.
v2.0.5
1/10/2025
Updated, linked changelogs and help popup
Fixed dark mode UI broken bug