Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am nathanielcook on github.
  • I am cryptodown (https://keybase.io/cryptodown) on keybase.
  • I have a public key ASA1pXDy36X-udtTiimN06-MByhWodJNYdkYsPLSvsI3Jgo

To claim this, I am signing this object:

@nathanielcook
nathanielcook / NoCmdClickTextEditorExtension.cs
Created September 30, 2016 20:52
NoCmdClickTextEditorExtension.cs
public class NoCmdClickTextEditorExtension : TextEditorExtension
{
static PropertyInfo textEditorExtensionChainProperty;
static PropertyInfo nextProperty;
static PropertyInfo linksShownProperty;
static NoCmdClickTextEditorExtension()
{
textEditorExtensionChainProperty = typeof(TextEditor).GetProperty("TextEditorExtensionChain", BindingFlags.NonPublic | BindingFlags.Instance);
nextProperty = typeof(TextEditorExtension).GetProperty("Next", BindingFlags.NonPublic | BindingFlags.Instance);