A multi-platform .NET UI framework. -!-!-!-!- VOTE FOR SUPPORT IN RIDER: https://youtrack.jetbrains.com/issue/RIDER-39247 -!-!-!-!-
@SuperJMN what happens if property type is int
?
DependencyProperty.UnsetValue
?
@SuperJMN what happens if property type is
int
?
@kekekeks It will throw deliberately. You shouldn't be assigning null to a type that doesn't accept null :)
Observable.Never<bool>()
causes a leak even if it's followed by an Until
?
FormattedText
is being Disposed properly. Not that I know how to tell, but in AvalonStudio, using a foreach loop should dispose of FormattedText
right? Same for the using
statement?private void RenderText(DrawingContext context, DocumentLine line)
{
using (var formattedText = new FormattedText(TextDocument.GetText(line.Offset, line.EndOffset - line.Offset), FontFamily, FontSize, FontStyle.Normal, TextAlignment.Left, FontWeight.Normal))
{
foreach (var lineTransformer in DocumentLineTransformers)
{
lineTransformer.ColorizeLine(line, formattedText);
}
context.DrawText(Brushes.WhiteSmoke, VisualLineGeometryBuilder.GetTextPosition(this, line.Offset).TopLeft, formattedText);
}
}
@grokys
so
Observable.Never<bool>()
causes a leak even if it's followed by anUntil
? yes, but the problem can be also that event for detaching is not raised or somehting else
do you think it's close to implement the line/pos error info?
I need to implement some stuff in Perspex.Designer
first
@ImaBrokeDude
I am having problems being able to test my edits for the extension, VS refuses to build the extension, I think it's because of the sdk update.
Make sure that packages
folder has required packages (you can copy them from installed extension)
The "FindInstalledExtension" task was not given a value for the required parameter "InstallableExtensionVersion".