Skip to content

Commit

Permalink
Fixed order of AutoITLibrary keywords
Browse files Browse the repository at this point in the history
Fixed order of AutoITLibrary keywords so not short circuiting occurs (issue mfukar#23)
  • Loading branch information
bartkl authored and kevinkjt2000 committed Apr 5, 2018
1 parent 3a17bbe commit ab11d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion after/syntax/robot.vim
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ syn match xmlLibrary "\c\<\(Set Element Text\|Set Element Tag\|Se
" See and follow listing order as above.
syn match seleniumLibrary "\c\<\(Xpath Should Match X Times\|Wait Until Page Does Not Contain Element\|Wait Until Page Does Not Contain\|Wait Until Page Contains Element\|Wait Until Page Contains\|Wait Until Element Is Visible\|Wait Until Element Is Not Visible\|Wait Until Element Is Enabled\|Wait Until Element Does Not Contain\|Wait Until Element Contains\|Wait For Condition\|Unselect From List By Value\|Unselect From List By Label\|Unselect From List By Index\|Unselect From List\|Unselect Frame\|Unselect Checkbox\|Title Should Be\|Textfield Value Should Be\|Textfield Should Contain\|Textarea Value Should Be\|Textarea Should Contain\|Table Should Contain\|Table Row Should Contain\|Table Header Should Contain\|Table Footer Should Contain\|Table Column Should Contain\|Table Cell Should Contain\|Switch Browser\|Submit Form\|Simulate\|Set Window Size\|Set Window Position\|Set Selenium Timeout\|Set Selenium Speed\|Set Selenium Implicit Wait\|Set Screenshot Directory\|Set Browser Implicit Wait\|Select Window\|Select Radio Button\|Select From List By Value\|Select From List By Label\|Select From List By Index\|Select From List\|Select Frame\|Select Checkbox\|Select All From List\|Remove Location Strategy\|Reload Page\|Register Keyword To Run On Failure\|Radio Button Should Not Be Selected\|Radio Button Should Be Set To\|Press Key\|Page Should Not Contain Textfield\|Page Should Not Contain Radio Button\|Page Should Not Contain List\|Page Should Not Contain Link\|Page Should Not Contain Image\|Page Should Not Contain Element\|Page Should Not Contain Checkbox\|Page Should Not Contain Button\|Page Should Not Contain\|Page Should Contain Textfield\|Page Should Contain Radio Button\|Page Should Contain List\|Page Should Contain Link\|Page Should Contain Image\|Page Should Contain Element\|Page Should Contain Checkbox\|Page Should Contain Button\|Page Should Contain\|Open Context Menu\|Open Browser\|Mouse Up\|Mouse Over\|Mouse Out\|Mouse Down On Link\|Mouse Down On Image\|Mouse Down\|Maximize Browser Window\|Log Title\|Log Source\|Log Location\|Locator Should Match X Times\|Location Should Contain\|Location Should Be\|List Windows\|List Should Have No Selections\|List Selection Should Be\|Input Text Into Prompt\|Input Text\|Input Password\|Go To\|Go Back\|Get Window Titles\|Get Window Size\|Get Window Position\|Get Window Names\|Get Window Identifiers\|Get Webelements\|Get Vertical Position\|Get Value\|Get Title\|Get Text\|Get Table Cell\|Get Source\|Get Selenium Timeout\|Get Selenium Speed\|Get Selenium Implicit Wait\|Get Selected List Values\|Get Selected List Value\|Get Selected List Labels\|Get Selected List Label\|Get Matching Xpath Count\|Get Location\|Get List Items\|Get Horizontal Position\|Get Element Attribute\|Get Cookie Value\|Get Cookies\|Get All Links\|Get Alert Message\|Frame Should Contain\|Focus\|Execute Javascript\|Execute Async Javascript\|Element Text Should Be\|Element Should Not Contain\|Element Should Not Be Visible\|Element Should Contain\|Element Should Be Visible\|Element Should Be Enabled\|Element Should Be Disabled\|Drag And Drop By Offset\|Drag And Drop\|Double Click Element\|Dismiss Alert\|Delete Cookie\|Delete All Cookies\|Current Frame Should Not Contain\|Current Frame Contains\|Create Webdriver\|Confirm Action\|Close Window\|Close Browser\|Close All Browsers\|Click Link\|Click Image\|Click Element At Coordinates\|Click Element\|Click Button\|Clear Element Text\|Choose Ok On Next Confirmation\|Choose File\|Choose Cancel On Next Confirmation\|Checkbox Should Not Be Selected\|Checkbox Should Be Selected\|Capture Page Screenshot\|Assign Id To Element\|Alert Should Be Present\|Add Location Strategy\|Add Cookie\)\>"
syn match sshLibrary "\c\<\(Write Until Expected Output\|Write Bare\|Write\|Switch Connection\|Start Command\|Set Default Configuration\|Set Client Configuration\|Read Until Regexp\|Read Until Prompt\|Read Until\|Read Command Output\|Read\|Put File\|Put Directory\|Open Connection\|Login With Public Key\|Login\|List Files In Directory\|List Directory\|List Directories In Directory\|Get File\|Get Directory\|Get Connections\|Get Connection\|File Should Not Exist\|File Should Exist\|Execute Command\|Enable Ssh Logging\|Directory Should Not Exist\|Directory Should Exist\|Close Connection\|Close All Connections\)\>"
syn match autoItLibrary "\c\<\(Auto It Set Option\|Block Input\|CD Tray\|Clip Get\|Clip Put\|Control Click\|Control Command\|Control Disable\|Control Enable\|Control Focus\|Control Get Focus\|Control Get Handle\|Control Get Pos Height\|Control Get Pos Width\|Control Get Pos X\|Control Get Pos Y\|Control Get Text\|Control Hide\|Control List View\|Control Move\|Control Send\|Control Set Text\|Control Show\|Control Tree View\|Drive Map Add\|Drive Map Del\|Drive Map Get\|Get Active Window Image\|Get Auto It Version\|Get Screen Image\|Get Version\|Ini Delete\|Ini Read\|Ini Write\|Init\|Is Admin\|Mouse Click\|Mouse Click Drag\|Mouse Down\|Mouse Get Cursor\|Mouse Get Pos X\|Mouse Get Pos Y\|Mouse Move\|Mouse Up\|Mouse Wheel\|Opt\|Pixel Checksum\|Pixel Get Color\|Pixel Search\|Process Close\|Process Exists\|Process Set Priority\|Process Wait\|Process Wait Close\|Reg Delete Key\|Reg Delete Val\|Reg Enum Key\|Reg Enum Val\|Reg Read\|Reg Write\|Run\|Run As Set\|Run Wait\|Send\|Shutdown\|Statusbar Get Text\|Tool Tip\|Wait For Active Window\|Win Activate\|Win Active\|Win Close\|Win Exists\|Win Get Caret Pos X\|Win Get Caret Pos Y\|Win Get Class List\|Win Get Client Size Height\|Win Get Client Size Width\|Win Get Handle\|Win Get Pos Height\|Win Get Pos Width\|Win Get Pos X\|Win Get Pos Y\|Win Get Process\|Win Get State\|Win Get Text\|Win Get Title\|Win Kill\|Win List\|Win Menu Select Item\|Win Minimize All\|Win Minimize All Undo\|Win Move\|Win Set On Top\|Win Set State\|Win Set Title\|Win Set Trans\|Win Wait\|Win Wait Active\|Win Wait Close\|Win Wait Not Active\)\>"
syn match autoItLibrary "\c\<\(Auto It Set Option\|Block Input\|CD Tray\|Clip Get\|Clip Put\|Control Click\|Control Command\|Control Disable\|Control Enable\|Control Focus\|Control Get Focus\|Control Get Handle\|Control Get Pos Height\|Control Get Pos Width\|Control Get Pos X\|Control Get Pos Y\|Control Get Text\|Control Hide\|Control List View\|Control Move\|Control Send\|Control Set Text\|Control Show\|Control Tree View\|Drive Map Add\|Drive Map Del\|Drive Map Get\|Get Active Window Image\|Get Auto It Version\|Get Screen Image\|Get Version\|Ini Delete\|Ini Read\|Ini Write\|Init\|Is Admin\|Mouse Click Drag\|Mouse Click\|Mouse Down\|Mouse Get Cursor\|Mouse Get Pos X\|Mouse Get Pos Y\|Mouse Move\|Mouse Up\|Mouse Wheel\|Opt\|Pixel Checksum\|Pixel Get Color\|Pixel Search\|Process Close\|Process Exists\|Process Set Priority\|Process Wait Close\|Process Wait\|Reg Delete Key\|Reg Delete Val\|Reg Enum Key\|Reg Enum Val\|Reg Read\|Reg Write\|Run As Set\|Run Wait\|Run\|Send\|Shutdown\|Statusbar Get Text\|Tool Tip\|Wait For Active Window\|Win Activate\|Win Active\|Win Close\|Win Exists\|Win Get Caret Pos X\|Win Get Caret Pos Y\|Win Get Class List\|Win Get Client Size Height\|Win Get Client Size Width\|Win Get Handle\|Win Get Pos Height\|Win Get Pos Width\|Win Get Pos X\|Win Get Pos Y\|Win Get Process\|Win Get State\|Win Get Text\|Win Get Title\|Win Kill\|Win List\|Win Menu Select Item\|Win Minimize All Undo\|Win Minimize All\|Win Move\|Win Set On Top\|Win Set State\|Win Set Title\|Win Set Trans\|Win Wait Active\|Win Wait Close\|Win Wait Not Active\|Win Wait\)\>"

" The built-in standard library comes last to re-match the keywords already caught.
" See and follow listing order as above.
Expand Down

0 comments on commit ab11d2e

Please sign in to comment.