Repository navigation
Releases
Releases · adgranger/LoomEditor
v0.7.0
Added
LoomEditor.TextMate: syntax highlighting for C, C++, Java, Go, Rust, PHP, Ruby, SQL, shell, PowerShell, SCSS, Less, Swift, Dart, Dockerfile, ini and diff (newc,cpp,java,go,rust,php,ruby,sql,shellscript,powershell,scss,less,swift,dart,dockerfile,inianddifflanguages, 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 (newobjective-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,dotenvandpropertieslanguages), 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 (newjavascriptreactlanguage:.jsxfiles are no longerjavascript, as in VS Code), JSON Lines, code snippets, XSL, Docker Compose, Git commit and rebase messages and ignore files (newjsonl,snippets,xsl,dockercompose,git-commit,git-rebaseandignorelanguages).dockercomposeis selected by id only: file name patterns (compose.yaml, …) are not supported.
Full Changelog: v0.6.0...v0.7.0
v0.6.0
Added
LoomEditor.TextMate: syntax highlighting for Lua (newlualanguage,.luafiles; grammar fromsumneko/lua.tmbundleas bundled by VS Code).
What's Changed
- chore: release 0.6.0 by @adgranger in #29
Full Changelog: v0.5.0...v0.6.0
v0.5.0
Added
LoomEditor.Avalonia: theLoomEditorandLoomDiffEditorcontrols 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 forlinux-x64,linux-arm64,osx-x64andosx-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.Renderingtargetsnet11.0(no Windows API): Win2D and the Win2D backend moved intoLoomEditor.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
- feat(avalonia): the Avalonia control (phase 15) by @adgranger in #26
- fix(gallery): embed the Avalonia XAML in the AOT publish by @adgranger in #27
- chore: release 0.5.0 by @adgranger in #28
Full Changelog: v0.4.0...v0.5.0
v0.4.0
Added
LoomEditor.View,LoomEditor.WinUI:LoomDiffEditor.Changes, the change blocks of the last diff (DiffChangeBlock: original and modified start line and count,InnerChangesasDiffInnerChange), for a host that maps them to its own hunks.LoomEditor.WinUI: block action buttons in the side-by-sideLoomDiffEditorgutter:BlockActionsVisibility(DiffBlockActionsVisibility),PrimaryBlockActionGlyph/PrimaryBlockActionToolTip,SecondaryBlockActionGlyph/SecondaryBlockActionToolTip, and theBlockActionInvokedevent (DiffBlockActionInvokedEventArgs:Block,Action).LoomEditor.WinUI: line selection and line action in the side-by-sideLoomDiffEditor:LineSelectionEnabled(a checkbox per changed line, Ctrl+click for a deleted + added pair),SelectedLines(DiffLine),SetSelection,ClearSelection,SelectionChanged,LineActionGlyph/LineActionToolTip/LineActionKey, and theLineActionInvokedevent (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
Added
LoomEditor.TextMate: syntax highlighting for.tsxfiles (newtypescriptreactlanguage, TypeScript React grammar) and.jsxfiles (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
Added
LoomEditor.WinUI:LoomEditor.SetViewZoneHeight(id, height)resizes a zone created withAddViewZone, 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
Added
LoomEditor.WinUI:LineHeightis settable onLoomEditorandLoomDiffEditor(MonacolineHeight): 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 ofx + 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
Added
LoomEditor.WinUI:LoomEditor.FoldingEnabled(Monacofolding) andLoomEditor.LineDecorationsWidth(MonacolineDecorationsWidth). 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
Fixed
LoomEditor.WinUI:LoomDiffEditor.WaitForDiffAsyncandRevealFirstChangeAsyncno 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
Added
LoomEditor.TextMate:BuiltInLanguages.GetLanguageIdByFileName(the language of a file name,nullwhen unknown).LoomEditor.View: public host decorations (EditorDecoration,EditorDecorationOptions,DecorationsCollection) and host decoration styles (CustomDecorationStyle,CustomDecorationStyles.Register/Unregister).LoomEditor.WinUI: public host API onLoomEditor:CreateDecorationsCollection,ScrollChanged/EditorScrollChangedEventArgs,LayoutChanged,LineHeight,GetTopForLineNumber,LineNumbersEnabled,ResetText,SetHiddenAreas,GutterClicked/GutterClickedEventArgs/GutterArea,AddViewZoneandRemoveViewZone(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