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
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ and the project uses [Semantic Versioning](https://semver.org/).
- Automatic updates — the updater plugin and keys must be bundled, so this
has to be decided before the first release that should support it

## [0.6.2] — 2026-09-22

### Added
- **Double-clicking the empty area beside the open tabs creates a new tab.**
It uses the same action as `Ctrl+T` and the plus button, while double-clicking
an existing tab continues to rename it.

## [0.6.1] — 2026-09-22

### Fixed
Expand Down Expand Up @@ -980,7 +987,8 @@ Erste Veröffentlichung.
- Builds sind unsigniert, SmartScreen warnt beim ersten Start
- Sinnvolle Dateigrösse bei rund 25 MB gedeckelt

[Unveröffentlicht]: https://github.com/jli-software/Rui/compare/v0.6.1...HEAD
[Unveröffentlicht]: https://github.com/jli-software/Rui/compare/v0.6.2...HEAD
[0.6.2]: https://github.com/jli-software/Rui/compare/v0.6.1...v0.6.2
[0.6.1]: https://github.com/jli-software/Rui/compare/v0.6.0...v0.6.1
[0.6.0]: https://github.com/jli-software/Rui/compare/v0.5.4...v0.6.0
[0.5.4]: https://github.com/jli-software/Rui/compare/v0.5.3...v0.5.4
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,7 +1,7 @@
{
"name": "rui",
"private": true,
"version": "0.6.1",
"version": "0.6.2",
"description": "A lean text editor for snippets and notes",
"license": "MIT",
"author": "Jonas Gaiching",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

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

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rui"
version = "0.6.1"
version = "0.6.2"
description = "A lean text editor for snippets and notes"
authors = ["Jonas Gaiching"]
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Rui",
"version": "0.6.1",
"version": "0.6.2",
"identifier": "ch.gaiching.rui",
"build": {
"beforeDevCommand": "npm run dev",
Expand Down
1 change: 1 addition & 0 deletions src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ const translations: Record<string, string> = {
"Ungespeichert": "Unsaved",
"Datei umbenennen": "Rename file",
"Doppelklick benennt um": "Double-click to rename",
"Doppelklick öffnet neuen Tab": "Double-click to open a new tab",
"Klick kopiert den Pfad": "Click to copy the path",
"Noch nicht gespeichert — Strg+S gibt der Notiz einen Namen":
"Not saved yet — Ctrl+S gives the note a name",
Expand Down
13 changes: 9 additions & 4 deletions src/tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,18 @@ export class TabBar {
else this.actions.onSelect(id);
});

// Doppelklick benennt um — der Griff, den Dateimanager und die
// Editoren daneben alle kennen. Der erste Klick hat den Reiter dabei
// schon aktiviert, es wird also immer der bearbeitet, den man sieht.
// Doppelklick auf einen Reiter benennt ihn um; im freien Bereich öffnet
// er einen neuen Reiter, wie in Notepad++. Der erste Klick auf einen
// bestehenden Reiter hat ihn dabei schon aktiviert, es wird also immer
// der bearbeitet, den man sieht.
this.list.addEventListener("dblclick", (event) => {
if ((event.target as HTMLElement).closest(".tab-close")) return;
const id = this.idFrom(event.target);
if (id === null) return;
event.preventDefault();
if (id === null) {
this.actions.onNew();
return;
}
this.startRename(id);
});

Expand Down Expand Up @@ -229,6 +233,7 @@ export class TabBar {

private draw(tabs: Tab[], activeId: number) {
this.root.hidden = tabs.length < 2;
this.list.title = tr("Doppelklick öffnet neuen Tab");

this.list.innerHTML = "";
for (const tab of tabs) {
Expand Down