Search and replace in editors

41 views
Skip to first unread message

Steve Garman

unread,
Apr 23, 2017, 5:01:03 PM4/23/17
to DroidScript
For those who do not know it is possible to search and replace in both the Wifi Editor and the device editor in DroidScript on your phone/tablet.

In the WiFi editor (PC) make sure your cursor is in the code pane, then press CTRL+H
This will give you a search/replace box.

In the device editor, touch the magnifying glass. This will give you two inputs, one for search text, the other for replace text.

The buttons are
Down Arrow: Search Down
Up Arrow: Search Up
Two Arrows: Replace Currently Selected
Asterisk: Replace All
 
searchDS0.png
searchDS.png
searchDS2.png

Steve Garman

unread,
Apr 24, 2017, 3:50:35 AM4/24/17
to DroidScript
For a list of keyboard shortcuts allowed by the editor that underlies the WiFi editor, take a look at https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts

Not all of these are implemented in the WiFi editor but if you see a function you like, it may be worth trying to see if it works.

Reply all
Reply to author
Forward
0 new messages