Ejemplo n.º 1
0
 // This sets the cursor to the beggining on the next Tag
 public static void authentic_GotoNextTag(AxXMLSPYPLUGINLib.AxAuthentic axTargetAuthenticObject)
 {
     if(axTargetAuthenticObject.AuthenticView.Selection.SelectNext(XMLSPYPLUGINLib.SPYAuthenticElementKind.spyAuthenticTag) != null) {
         axTargetAuthenticObject.AuthenticView.Selection.SelectNext(XMLSPYPLUGINLib.SPYAuthenticElementKind.spyAuthenticTag).Select();
     }
     axTargetAuthenticObject.SelectionSet(axTargetAuthenticObject.CurrentSelection.Start,0,null,0);
 }
Ejemplo n.º 2
0
 // This sets the cursor to the beggining on the previous Tag
 public static void authentic_GotoPreviousTag(AxXMLSPYPLUGINLib.AxAuthentic axTargetAuthenticObject)
 {
     try
     {
         axTargetAuthenticObject.AuthenticView.Selection.SelectPrevious(XMLSPYPLUGINLib.SPYAuthenticElementKind.spyAuthenticTag).Select();
         axTargetAuthenticObject.SelectionSet(axTargetAuthenticObject.CurrentSelection.Start, 0, null, 0);
     }
     catch { }
 }
Ejemplo n.º 3
0
 public static void authentic_InsertNewLine(AxXMLSPYPLUGINLib.AxAuthentic axTargetAuthenticObject)
 {
     authentic_InsertElementInCurrentSelectionPos(axTargetAuthenticObject, "newline");
     axTargetAuthenticObject.SelectionSet(axTargetAuthenticObject.CurrentSelection.Start, 0, null, 0);
 }