diff --git a/Home-uk.md b/Home-uk.md index 8b5f7cf..4a8d740 100644 --- a/Home-uk.md +++ b/Home-uk.md @@ -37,7 +37,7 @@ KSwitcher — нативне C++/Win32-переписування Windows-фун ## Можливості на скриншотах -Скриншоти містять лише демонстраційні дані. Налаштування, словники, буфер та OCR знято у v0.6.14; приклади сніпетів оновлено для v0.6.18; приклад редактора знімків оновлено для v0.6.23. +Скриншоти містять лише демонстраційні дані. Налаштування, словники, буфер та OCR знято у v0.6.14; приклади сніпетів оновлено для v0.6.18; приклад редактора знімків оновлено для v0.6.24. @@ -135,7 +135,7 @@ KSwitcher — нативне C++/Win32-переписування Windows-фун Натисніть **Win+Shift+S**, захопіть ділянку й відкрийте сповіщення з мініатюрою для редагування. Додайте стрілки, номери, підсвітку, текст або фігури й скопіюйте результат або збережіть PNG через **Ctrl+S**. Початковий інструмент — **Олівець (F)**; у прикладі показано кнопку Save та демонстраційні позначки. -![Скріншоти](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/raw/images/screenshot-editor-0623.png) +![Скріншоти](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/raw/images/screenshot-editor-0624.png) [Докладніше](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/Screenshots-uk) @@ -155,13 +155,19 @@ KSwitcher — нативне C++/Win32-переписування Windows-фун - [Гарячі клавіші, буфер обміну та шаблони](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/Usage-uk) - [Оновлення, дані та поширені запитання](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/FAQ-uk) -Документацію та огляд усіх 11 можливостей актуалізовано для **v0.6.23**. Інтерфейс застосунку англійською; назви кнопок у посібнику наведені як у програмі. +Документацію та огляд усіх 11 можливостей актуалізовано для **v0.6.24**. Інтерфейс застосунку англійською; назви кнопок у посібнику наведені як у програмі. [![Підтримати KSwitcher: пригостіть розробника кавою](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/raw/images/donate-uk.png)](https://send.monobank.ua/jar/88h2TddKfS) [Відкрити банку Monobank](https://send.monobank.ua/jar/88h2TddKfS) · Дякую, що підтримуєте KSwitcher! -## Останні зміни — v0.6.23 (2026-11-01) +## Останні зміни — v0.6.24 (2026-11-01) + +Згладжування олівця та розпізнавання прямокутників, кіл, еліпсів, трикутників і трапецій; інструменти Triangle (G) та Trapezoid (B); поворот фігур і незалежні вершини трикутника. Масштабування через Ctrl++ / Ctrl+- або Ctrl+колесо, скидання через Ctrl+0, переміщення середньою кнопкою. Ctrl+Z повертає початковий штрих олівця. + +[Посібник редактора](Screenshots-uk) · [Завантажити v0.6.24](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/releases/download/release-v0.6.24/KSwitcher-win-x64.zip) · [SHA256SUMS.txt](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/releases/download/release-v0.6.24/SHA256SUMS.txt) + +## Попередній реліз — v0.6.23 (2026-11-01) Зберігайте знімки з позначками у PNG у повній роздільній здатності через **Save… / Ctrl+S**; **Ctrl+Shift+S** дозволяє вибрати інший файл. Вбудований словник тепер містить `поточні` для `Gjnjxys` + пробіл → `Поточні`. Chrome та Edge використовують виділення з паузами; повідомлений браузерний випадок ще потребує перевірки наживо. diff --git a/Home.md b/Home.md index e4248a6..b76d6a0 100644 --- a/Home.md +++ b/Home.md @@ -36,7 +36,7 @@ To correct text manually, select it and press **Next layout**. With **Convert re ## Features in screenshots -Screenshots contain demonstration data only. Settings, dictionaries, clipboard and OCR were captured in v0.6.14; snippet examples are updated for v0.6.18; the annotation-editor example is updated for v0.6.23. +Screenshots contain demonstration data only. Settings, dictionaries, clipboard and OCR were captured in v0.6.14; snippet examples are updated for v0.6.18; the annotation-editor example is updated for v0.6.24. @@ -134,7 +134,7 @@ Click a shortcut field, press the desired combination, then **Save**. **Backspac Press **Win+Shift+S**, capture a region, and open the thumbnail notification to annotate it. Add arrows, numbers, highlights, text or shapes, then copy the result or save PNG with **Ctrl+S**. The editor initially selects **Pencil (F)**; this example shows the Save button and demonstration annotations. -![Screenshots](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/raw/images/screenshot-editor-0623.png) +![Screenshots](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/raw/images/screenshot-editor-0624.png) [Guide](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/Screenshots) @@ -154,13 +154,19 @@ Enable **Start with Windows**. For elevated target applications, optionally enab - [Keyboard shortcuts, clipboard and snippets](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/Usage) - [Updates, data and frequently asked questions](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/FAQ) -Documentation is current through **v0.6.23**. The application interface is in English. This wiki is available in English and Ukrainian; use the language links at the top of each page to open its translation. +Documentation is current through **v0.6.24**. The application interface is in English. This wiki is available in English and Ukrainian; use the language links at the top of each page to open its translation. [![Support KSwitcher development — buy the developer a coffee](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/raw/images/donate-en.png)](https://send.monobank.ua/jar/88h2TddKfS) [Donate via Monobank](https://send.monobank.ua/jar/88h2TddKfS) · Thank you for supporting KSwitcher! -## Recent changes — v0.6.23 (2026-11-01) +## Recent changes — v0.6.24 (2026-11-01) + +Pencil smoothing and recognition of rectangles, circles, ellipses, triangles and trapezoids; Triangle (G) and Trapezoid (B) tools; shape rotation and independent triangle vertices. Zoom with Ctrl++ / Ctrl+- or Ctrl+wheel, reset with Ctrl+0, pan with the middle button. Ctrl+Z can restore the original pencil stroke. + +[Full editor guide](Screenshots) · [Download v0.6.24](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/releases/download/release-v0.6.24/KSwitcher-win-x64.zip) · [SHA256SUMS.txt](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/releases/download/release-v0.6.24/SHA256SUMS.txt) + +## Previous release — v0.6.23 (2026-11-01) Save annotated screenshots as full-resolution PNG with **Save… / Ctrl+S**; use **Ctrl+Shift+S** for another destination. The bundled dictionary now includes `поточні` for `Gjnjxys` + Space → `Поточні`. Chrome and Edge use paced text selection; the reported browser-editor case still needs live verification. diff --git a/Screenshots-uk.md b/Screenshots-uk.md index 261485c..9e2c775 100644 --- a/Screenshots-uk.md +++ b/Screenshots-uk.md @@ -22,7 +22,7 @@ ## Інструменти -![Редактор KSwitcher v0.6.23: кнопка Save та демонстраційна стрілка](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/raw/images/screenshot-editor-0623.png) +![Редактор KSwitcher v0.6.24: фігури, маркери вершин і масштабування канвасу](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/raw/images/screenshot-editor-0624.png) Це справжній редактор із нейтральним демонстраційним зображенням. Панель унизу показує підказки для поточної дії. @@ -33,16 +33,39 @@ | Пряма лінія | L | Суцільна, пунктирна, штрихова або штрихпунктирна лінія | | Прямокутник | R | Переміщення та зміна розміру | | Коло / еліпс | O / E | Контурні фігури | +| Трикутник | G | Три незалежні рухомі вершини та поворот | +| Трапеція | B | Паралельні основи, зміна розміру та поворот | | Олівець | F | Довільна лінія; активний за замовчуванням | | Підсвітка | H | Напівпрозорий штрих поверх зображення | | Текст | T | Введення прямо на зображенні, шрифт, розмір і поворот | Палітра змінює колір вибраного об’єкта й наступних об’єктів. **Line style** задає тип лінії, а **Ends** — стрілку на початку, в кінці, з обох боків або без наконечників. +## Згладжування та розпізнавання фігур (v0.6.24) + +Після відпускання миші олівець злегка згладжує штрих і намагається розпізнати прямокутник, коло, еліпс, трикутник або трапецію, зокрема нахилені контури. Нерівні овали можуть мати невеликий розрив або нахльост у місці замикання; основи трапеції вирівнюються до паралельних ліній. Розпізнаний контур стає об’єктом-фігурою, а не кривою олівця. + +**Ctrl+Z** відразу після покращення повертає точний початковий штрих; повторне скасування видаляє його. **Ctrl+Y** повторює покращення. Короткі штрихи, штрихи з прив’язкою до інших об’єктів та штрихи, намальовані хоча б частково із Shift, не обробляються. Розпізнавання евристичне: неоднозначний малюнок може лише згладитися, а помилкове перетворення можна скасувати. + +## Фігури та поворот (v0.6.24) + +Інструменти **Triangle / Трикутник (G)** і **Trapezoid / Трапеція (B)** на панелі дозволяють створити фігуру відразу. Намальовані й розпізнані трикутники мають **три незалежні маркери вершин**: перетягування однієї не зміщує дві інші, навіть після повороту. Прямокутники, кола, еліпси й трапеції мають два кутові маркери зміни розміру; кола зберігають однакові ширину й висоту. + +Кожна фігура має **круглий маркер повороту**. Перетягуйте його для обертання навколо центру; утримуйте **Shift** для кроку **15°**. Квадратний маркер регулює товщину контуру. Поворот працює з масштабуванням канвасу, зміною розміру, клонуванням, прив’язаними стрілками та експортом PNG. Зміна вершин трикутника й поворот підтримують undo/redo. Трапеція наразі змінює розмір через кутові маркери рамки, без незалежного редагування вершин. + +## Масштабування й переміщення канвасу (v0.6.24) + +- **Ctrl++ / Ctrl+-**, зокрема на цифровій клавіатурі: зміна масштабу навколо центру видимої області з множником 1,25. +- **Ctrl+колесо миші**: масштабування навколо курсора. +- **Ctrl+0**: початковий масштаб. +- **Перетягування середньою кнопкою**: переміщення збільшеного зображення. + +Діапазон — 0,1×–16× початкового масштабу; рядок стану показує фактичний масштаб зображення. Масштабування й переміщення канвасу не змінюють координат позначок, роздільності експорту чи історії скасування. Колесо **без Ctrl** і далі змінює об’єкт під курсором. Щоб повернути зображення у видиму область, натисніть Ctrl+0. + ## Редагування об’єктів - Перетягуйте об’єкт для переміщення, ручки — для зміни розміру. Курсор підказує доступну дію. -- Колесо миші змінює розмір об’єкта під курсором: товщину лінії, діаметр мітки чи розмір тексту. Товщину також можна змінювати окремою ручкою біля лінії. +- Колесо миші без Ctrl змінює розмір об’єкта під курсором: товщину лінії, діаметр мітки чи розмір тексту. Товщину також можна змінювати окремою ручкою біля лінії. - **Клавіші-стрілки** зміщують вибраний об’єкт на один піксель зображення. - **Ctrl+D** клонує об’єкт, **Delete** видаляє його. - **Ctrl+Z** — Undo; **Ctrl+Y** або **Ctrl+Shift+Z** — Redo. diff --git a/Screenshots.md b/Screenshots.md index e827f62..f1fcd04 100644 --- a/Screenshots.md +++ b/Screenshots.md @@ -22,7 +22,7 @@ If Windows notifications are disabled or cannot be sent, the editor opens immedi ## Tools -![KSwitcher v0.6.23 editor: Save button and an arrow on demonstration data](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/raw/images/screenshot-editor-0623.png) +![KSwitcher v0.6.24 editor: shapes, vertex handles and canvas zoom](https://gitea.hrynco.com/hrynco/hrynco-kswitcher/wiki/raw/images/screenshot-editor-0624.png) This is the actual editor with a neutral demonstration image. The status bar at the bottom shows contextual hints. @@ -33,16 +33,39 @@ This is the actual editor with a neutral demonstration image. The status bar at | Straight line | L | Solid, dotted, dashed or dash-dot strokes | | Rectangle | R | Move and resize | | Circle / ellipse | O / E | Outline shapes | +| Triangle | G | Three independently draggable vertices and rotation | +| Trapezoid | B | Parallel bases, resizing and rotation | | Pencil | F | Freehand drawing; selected by default | | Highlighter | H | A translucent stroke over the image | | Text | T | Type directly on the image; choose font, size and rotation | The palette changes the selected object's color and the color of new objects. **Line style** sets the stroke pattern; **Ends** selects an arrowhead at the start, end, both ends or neither end. +## Pencil smoothing and shape recognition (v0.6.24) + +After releasing the mouse, Pencil lightly smooths the stroke and tries to recognize a rectangle, circle, ellipse, triangle or trapezoid, including tilted outlines. Uneven ovals can have a small closing gap or overlap; trapezoid bases are fitted to parallel lines. Recognized outlines become shape objects, not pencil curves. + +**Ctrl+Z** immediately after improvement restores the exact original stroke; a second undo removes it. **Ctrl+Y** reapplies the improvement. Small strokes, strokes linked to other objects and any stroke drawn partly with Shift stay unchanged. Recognition is heuristic: ambiguous drawings may only be smoothed, and an incorrect guess can be undone. + +## Shapes and rotation (v0.6.24) + +Use **Triangle (G)** or **Trapezoid (B)** on the toolbar to draw these shapes directly. Both drawn and recognized triangles have **three independent vertex handles**: dragging one keeps the other two fixed, even after rotation. Rectangles, circles, ellipses and trapezoids use two bounding-box resize handles; circles retain equal width and height. + +Every shape has a **round rotation handle**. Drag it to rotate around the center; hold **Shift** for **15-degree steps**. The square handle controls outline thickness. Rotation works with canvas zoom, resizing, cloning, attached connectors and PNG export. Triangle vertex edits and rotation support undo/redo. Trapezoids currently use bounding-box resizing rather than independent vertex editing. + +## Canvas zoom and pan (v0.6.24) + +- **Ctrl++ / Ctrl+-**, including numpad keys: zoom around the viewport center in factors of 1.25. +- **Ctrl+mouse wheel**: zoom around the cursor. +- **Ctrl+0**: restore the initial fit. +- **Middle-button drag**: pan the enlarged image. + +The range is 0.1×–16× the initial fit; the status bar shows the actual image scale. Zoom/pan never changes annotation coordinates, export resolution or undo history. The mouse wheel **without Ctrl** still changes the object under the cursor. If you lose your place, use Ctrl+0. + ## Edit objects - Drag an object to move it or its handles to resize it. The cursor indicates the available action. -- The mouse wheel changes the size of the object under the cursor: line thickness, marker diameter or text size. A separate handle beside the line also adjusts thickness. +- The mouse wheel without Ctrl changes the size of the object under the cursor: line thickness, marker diameter or text size. A separate handle beside the line also adjusts thickness. - **Arrow keys** move the selected object by one image pixel. - **Ctrl+D** duplicates an object; **Delete** removes it. - **Ctrl+Z** undoes; **Ctrl+Y** or **Ctrl+Shift+Z** redoes. diff --git a/Usage-uk.md b/Usage-uk.md index 7823042..2ba69d7 100644 --- a/Usage-uk.md +++ b/Usage-uk.md @@ -84,3 +84,7 @@ Hello, {cursor}! Chrome та Edge тепер використовують виділення з паузами, як Teams/WebView: окремі натискання **Shift+Left** розділено паузами 25 мс. Це зменшує серії подій, які асинхронний редактор може не встигнути обробити. Конвертація щойно набраного тексту, повторна конвертація та Undo й далі перевіряють увесь скопійований фрагмент перед заміною; відновлення часткового виділення залишається доступним. Повідомлений браузерний збій після цієї зміни ще не перевірено наживо. Якщо **previous-result-verification-mismatch** повторюється, припиніть повторювати хоткей, явно виділіть потрібне слово й спробуйте ручну конвертацію. До нового повідомлення додайте деталі діагностики. **Original text remained** та **Paste not verified** — окремі результати зчитування; ця зміна не гарантує вставлення та не прибирає наявні перевірки. + +## Клавіші редактора скріншотів (v0.6.24) + +Трикутник: **G**; трапеція: **B**. **Ctrl++ / Ctrl+- / Ctrl+колесо** змінюють масштаб; **Ctrl+0** скидає його; **перетягування середньою кнопкою** переміщує канвас. **Shift** задає крок повороту фігури 15°. Після автоматичного покращення олівця **Ctrl+Z** повертає початковий штрих. [Посібник редактора](Screenshots-uk). diff --git a/Usage.md b/Usage.md index a40d381..0175262 100644 --- a/Usage.md +++ b/Usage.md @@ -84,3 +84,7 @@ Native regression tests cover suffix verification, and isolated-editor integrati Chrome and Edge now use paced selection, as already used for Teams/WebView: individual **Shift+Left** presses have 25 ms pauses. This reduces bursts of events that asynchronous editors may not process in time. Recent-text conversion, repeat conversion and Undo still verify the full copied range before replacement; partial-selection recovery remains available. The reported browser-editor failure has not yet been verified live after this change. If **previous-result-verification-mismatch** persists, stop repeating the shortcut, explicitly select the intended word and try manual conversion. Include diagnostic details in a new report. **Original text remained** and **Paste not verified** are separate readback outcomes; this change does not guarantee paste delivery or remove the existing verification checks. + +## Screenshot editor shortcuts (v0.6.24) + +Triangle: **G**; trapezoid: **B**. **Ctrl++ / Ctrl+- / Ctrl+wheel** zoom; **Ctrl+0** resets the view; **middle-button drag** pans. Shape rotation handles support **Shift** for 15-degree steps. After automatic pencil improvement, **Ctrl+Z** restores the original stroke. [Full editor guide](Screenshots). diff --git a/images/screenshot-editor-0624.png b/images/screenshot-editor-0624.png new file mode 100644 index 0000000..1f1599a Binary files /dev/null and b/images/screenshot-editor-0624.png differ