ui: context menu
Context menu for code view added, including option to set IDE cursor.
This commit is contained in:
Binary file not shown.
@@ -83,6 +83,7 @@ namespace SnowForest.CoatiPlugin
|
||||
NetworkProtocolUtility.CursorPosition cursorPosition = NetworkProtocolUtility.parseInMessage(message);
|
||||
if (cursorPosition.Valid)
|
||||
{
|
||||
cursorPosition.ColumnNumber += 1; // VS counts columns starting at 1, coati starts at 0
|
||||
DTE dte = (DTE)GetService(typeof(DTE));
|
||||
if (FileUtility.OpenSourceFile(dte, cursorPosition.FilePath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user