These are chat archives for AvaloniaUI/Avalonia

13th
Apr 2017
Eli Arbel
@aelij
Apr 13 2017 09:43
@grokys Thanks. I'll have a bunch of issues to report after this project.
AvaloniaEdit.gif
I've made some progress!
The cursor isn't positioned well, and selection doesn't work yet ;) But I've converted the entire AE codebase to Avalonia.
Steven Kirk
@grokys
Apr 13 2017 14:21
oh wow amazing!
danwalmsley
@danwalmsley
Apr 13 2017 15:56
@aelij is that your port of avalonEdit working?
I remember having similar issues like that
SÅ‚awomir Kozok
@ThudPoland
Apr 13 2017 16:05
hello, just small question
Is there something similiar to RichTextBox?
im asking beacuse i cant find any user friendly docs for AvaloniaUI
Nikita Tsukanov
@kekekeks
Apr 13 2017 17:47
There is no such thing, unfortunately
Eli Arbel
@aelij
Apr 13 2017 18:10
@danwalmsley Yep
@grokys Do you think I could host the repo for AvaloniaEdit under the AvaloniaUI org? :)
danwalmsley
@danwalmsley
Apr 13 2017 18:13
@aelij will it still have compatible api to original Avalon edit? I.e. Support margins, and being able to render thing inline?
Or did you have to modify it heavily?
danwalmsley
@danwalmsley
Apr 13 2017 19:50
@aelij btw @jkoritzinsky has created some Roslyn analysers that can automatically transform wpf dependency properties, and stuff like that into avalonia ones (I think that's what they do)
it might help you porting Avalon edit
Jeremy Koritzinsky
@jkoritzinsky
Apr 13 2017 19:51
Fyi the property converter works really well but the type converter is a little buggy
Eli Arbel
@aelij
Apr 13 2017 21:17
@danwalmsley A bit too late... I've done all the conversions manually :)
It should be nearly equivalent to AvalonEdit. I'll make a list of what I had to comment out.
By "render inline" do you mean UI elements inside the editor (e.g. a button)? I haven't tested this but it should work. I've copied the WPF model of TextRun classes.
danwalmsley
@danwalmsley
Apr 13 2017 21:31
@aelij oh wow, great work!
danwalmsley
@danwalmsley
Apr 13 2017 22:22
@aelij have you pushed your code to a repo so I can try it out?