Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var txtMgr = (IVsTextManager)GetService(typeof(SVsTextManager));
- IVsTextView view;
- IVsTextLines buffer;
- txtMgr.GetActiveView(1, null, out view);
- if (view == null)
- {
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement