Skip to content

Instantly share code, notes, and snippets.

View DanielRose's full-sized avatar

Daniel Rose DanielRose

  • Evolutionizer GmbH
  • Aachen, Germany
View GitHub Profile
<?xml version="1.0" encoding="utf-16"?>
<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns">
<TypePattern DisplayName="COM interfaces" Priority="2000">
<TypePattern.Match>
<And>
<Kind Is="Interface" />
<Or>
<HasAttribute Name="System.Runtime.InteropServices.InterfaceTypeAttribute" />
<HasAttribute Name="System.Runtime.InteropServices.ComImport" />
</Or>
namespace MEFCachingTest
{
using System;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Composition;
using System.Composition.Hosting;
using System.Diagnostics;
using System.Reflection;
@DanielRose
DanielRose / MainWindow.xaml
Created June 4, 2014 13:48
Scroll bug in AvalonEdit
<Window
x:Class="AvalonEditScrollBug.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:avalonEdit="clr-namespace:ICSharpCode.AvalonEdit;assembly=ICSharpCode.AvalonEdit"
Title="MainWindow"
Width="525"
Height="350">
<Grid>
<Grid.RowDefinitions>