Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to Notelet are documented here. The format follows [Keep a C

## [Unreleased]

## [0.1.3] - 2026-12-01

### Fixed

- A code block keeps its syntax colours after `Ctrl+L` selects a line in it, or after `Ctrl+C` with nothing selected copies a code line.

## [0.1.2] - 2026-11-30

### Fixed
Expand Down Expand Up @@ -33,7 +39,8 @@ First release of Notelet for Windows.
- Export and Import of every note, sprint, setting and shortcut as one backup file.
- Tray menu: the version, Open Notelet, Check for updates, Start with Windows, Help (What's new, Report a bug) and Quit Notelet. Notelet also checks for updates once a day and shows **Restart to update** when one is ready.

[Unreleased]: https://github.com/ttncode/notelet/compare/v0.1.2...HEAD
[Unreleased]: https://github.com/ttncode/notelet/compare/v0.1.3...HEAD
[0.1.3]: https://github.com/ttncode/notelet/compare/v0.1.2...v0.1.3
[0.1.2]: https://github.com/ttncode/notelet/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/ttncode/notelet/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/ttncode/notelet/releases/tag/v0.1.0
2 changes: 2 additions & 0 deletions app/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ export class NoteEditor {
const linesOf = new Map(blocks.map((block) => [block, splitCodeLines(block)]));
const [anchor, focus] = ends.map((end) => (end.block ? pointInCodeLines(linesOf.get(end.block), end.textOffset) : end));
selection.setBaseAndExtent(anchor.node, anchor.offset, focus.node, focus.offset);
// The split replaces the code's text nodes, and the colours are ranges on the old ones.
refreshCodeColours(this.#element);
}

// Like VS Code's Ctrl+L: the first press selects the caret's line, each next one adds a line.
Expand Down
2 changes: 1 addition & 1 deletion desktop/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "notelet"
version = "0.1.2"
version = "0.1.3"
description = "Lightweight notes with sprint tracking"
edition = "2021"
publish = false
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "notelet",
"version": "0.1.2",
"version": "0.1.3",
"private": true,
"type": "module",
"scripts": {
Expand Down
Loading