Skip to content

Releases

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 09:50
77d3ace

Added

  • LoomEditor.TextMate: syntax highlighting for C, C++, Java, Go, Rust, PHP, Ruby, SQL, shell, PowerShell, SCSS, Less, Swift, Dart, Dockerfile, ini and diff (new c, cpp, java, go, rust, php, ruby, sql, shellscript, powershell, scss, less, swift, dart, dockerfile, ini and diff languages, grammars as bundled by VS Code), also in Markdown fenced code blocks. Detection by first line (#!) and by file name pattern (Dockerfile.*) is not supported.
  • LoomEditor.TextMate: syntax highlighting for the remaining built-in languages of VS Code: Objective-C, Objective-C++, CUDA C++, R, Perl, Raku, F#, Visual Basic, Razor, Clojure, CoffeeScript, Groovy, Julia, Handlebars, Pug (jade), HLSL, ShaderLab, TeX, LaTeX, BibTeX, reStructuredText, Makefile, Batch, dotenv and properties (new objective-c, objective-cpp, cuda-cpp, r, perl, raku, fsharp, vb, razor, clojure, coffeescript, groovy, julia, handlebars, jade, hlsl, shaderlab, tex, latex, bibtex, restructuredtext, makefile, bat, dotenv and properties languages), also in Markdown fenced code blocks where VS Code maps them. Detection by first line and by file name pattern (.env.*, Jenkinsfile*) is not supported.
  • LoomEditor.TextMate: syntax highlighting for JSX (new javascriptreact language: .jsx files are no longer javascript, as in VS Code), JSON Lines, code snippets, XSL, Docker Compose, Git commit and rebase messages and ignore files (new jsonl, snippets, xsl, dockercompose, git-commit, git-rebase and ignore languages). dockercompose is selected by id only: file name patterns (compose.yaml, …) are not supported.

Full Changelog: v0.6.0...v0.7.0

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 09:44
44472c8

Added

  • LoomEditor.TextMate: syntax highlighting for Lua (new lua language, .lua files; grammar from sumneko/lua.tmbundle as bundled by VS Code).

What's Changed

Full Changelog: v0.5.0...v0.6.0

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 10:43
680bb05

Added

  • LoomEditor.Avalonia: the LoomEditor and LoomDiffEditor controls for Avalonia 12 on Windows, macOS and Linux, with the same public API as the WinUI controls (highlighting, editing, IME, clipboard, find, hover, suggest, comment threads, the diff editor with its block and line actions). See how to use the Avalonia control. The macOS-specific keybindings, the UI Automation text pattern and the manual test plan are not done or not run.
  • LoomEditor.TextMate: the Oniguruma library for linux-x64, linux-arm64, osx-x64 and osx-arm64 (runtimes/<rid>/native/), next to the Windows ones.
  • samples/LoomEditor.Gallery.Avalonia, the demo app of the Avalonia control, published with Native AOT on Windows, Linux and macOS in CI.

Changed

  • LoomEditor.Rendering targets net11.0 (no Windows API): Win2D and the Win2D backend moved into LoomEditor.WinUI. The WinUI public API is unchanged.
  • The code the WinUI and Avalonia controls and Galleries have in common lives once (LoomEditor.HostShared, shared Gallery sources). Internal refactoring: no public API change (phase 16).

What's Changed

Full Changelog: v0.4.0...v0.5.0

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 17:59
05bf36e

Added

  • LoomEditor.View, LoomEditor.WinUI: LoomDiffEditor.Changes, the change blocks of the last diff (DiffChangeBlock: original and modified start line and count, InnerChanges as DiffInnerChange), for a host that maps them to its own hunks.
  • LoomEditor.WinUI: block action buttons in the side-by-side LoomDiffEditor gutter: BlockActionsVisibility (DiffBlockActionsVisibility), PrimaryBlockActionGlyph / PrimaryBlockActionToolTip, SecondaryBlockActionGlyph / SecondaryBlockActionToolTip, and the BlockActionInvoked event (DiffBlockActionInvokedEventArgs: Block, Action).
  • LoomEditor.WinUI: line selection and line action in the side-by-side LoomDiffEditor: LineSelectionEnabled (a checkbox per changed line, Ctrl+click for a deleted + added pair), SelectedLines (DiffLine), SetSelection, ClearSelection, SelectionChanged, LineActionGlyph / LineActionToolTip / LineActionKey, and the LineActionInvoked event (DiffLineActionInvokedEventArgs.Lines).

What's Changed

  • feat(winui): line and block actions in the side-by-side LoomDiffEditor by @adgranger in #25

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 10:52
b5250c4

Added

  • LoomEditor.TextMate: syntax highlighting for .tsx files (new typescriptreact language, TypeScript React grammar) and .jsx files (JavaScript language, whose grammar already handles JSX).

What's Changed

  • feat(textmate): highlight .tsx and .jsx files by @adgranger in #24

Full Changelog: v0.2.0-alpha.5...v0.3.0

v0.2.0-alpha.5

v0.2.0-alpha.5 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Oct 14:16
3025ac8

Added

  • LoomEditor.WinUI: LoomEditor.SetViewZoneHeight(id, height) resizes a zone created with AddViewZone, keeping its element and the focus inside it.

What's Changed

  • feat(winui): LoomEditor.SetViewZoneHeight resizes a host view zone by @adgranger in #23

Full Changelog: v0.2.0-alpha.4...v0.2.0-alpha.5

v0.2.0-alpha.4

v0.2.0-alpha.4 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Oct 12:37
e674398

Added

  • LoomEditor.WinUI: LineHeight is settable on LoomEditor and LoomDiffEditor (Monaco lineHeight): 0 is automatic, below 8 a multiplier of the font size, else a height in DIPs. Reading it still gives the height in use.

Fixed

  • LoomEditor.Rendering: the diagonal hatching of the diff editor's empty view zones now matches Monaco (2 px stripes every 8 px of x + y; it had twice as many stripes, half as thick).

What's Changed

  • feat(winui): settable LineHeight, and diagonal hatching that matches Monaco by @adgranger in #22

Full Changelog: v0.2.0-alpha.3...v0.2.0-alpha.4

v0.2.0-alpha.3

v0.2.0-alpha.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Oct 11:17
b5ab659

Added

  • LoomEditor.WinUI: LoomEditor.FoldingEnabled (Monaco folding) and LoomEditor.LineDecorationsWidth (Monaco lineDecorationsWidth). With folding off, no line numbers and a width of 0, the margin disappears.

What's Changed

  • feat(winui): FoldingEnabled and LineDecorationsWidth on LoomEditor by @adgranger in #21

Full Changelog: v0.2.0-alpha.2...v0.2.0-alpha.3

v0.2.0-alpha.2

v0.2.0-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Oct 10:23
7f6359c

Fixed

  • LoomEditor.WinUI: LoomDiffEditor.WaitForDiffAsync and RevealFirstChangeAsync no longer throw when called while the control is unloaded; they wait for the next load.

What's Changed

  • fix(winui): LoomDiffEditor.WaitForDiffAsync waits for the next load after an unload by @adgranger in #20

Full Changelog: v0.2.0-alpha.1...v0.2.0-alpha.2

v0.2.0-alpha.1

v0.2.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Oct 09:00
51023a3

Added

  • LoomEditor.TextMate: BuiltInLanguages.GetLanguageIdByFileName (the language of a file name, null when unknown).
  • LoomEditor.View: public host decorations (EditorDecoration, EditorDecorationOptions, DecorationsCollection) and host decoration styles (CustomDecorationStyle, CustomDecorationStyles.Register / Unregister).
  • LoomEditor.WinUI: public host API on LoomEditor: CreateDecorationsCollection, ScrollChanged / EditorScrollChangedEventArgs, LayoutChanged, LineHeight, GetTopForLineNumber, LineNumbersEnabled, ResetText, SetHiddenAreas, GutterClicked / GutterClickedEventArgs / GutterArea, AddViewZone and RemoveViewZone (host WinUI content in a gap between lines). See how-to/use-the-host-api.md.

What's Changed

  • feat: public API for host applications — phase 13 by @adgranger in #19

Full Changelog: v0.1.0-alpha.1...v0.2.0-alpha.1