InsStartEndCmd Script

Build 1501 on 14/Nov/2017  This topic last edited on: 9/May/2012, at 13:03

Description

Inserts the tags brackets and puts the I-beam within.

Syntax

InsStartEndCmd

Code

  <ShellCommand(CanExecute:="Ena_IsEditingText")> _

  Public Sub InsStartEndCmd()

    If Not Text.TestShowCmd Then

      If Text.WinToggleShowCmd(1) = EFAILED Then

      End If

    End If

    If Text.TestCursorInCmd Then

      If Len(Text.GetTxt) = 0 Then

        Text.CursorRight()

      Else

        Text.CursorWordRight()

      End If

    End If

    Text.InsStartEndCmd()

  End Sub

See also