Hey Folks,
Here are a few AppleScript snippets for Jedit Ω.
# Working
tell application "Jedit Ω"
tell front document
find string ".*three.*" with grep without case sensitive
end tell
end tell
# Working
tell application "Jedit Ω"
tell front document
replaceAll string "three.*" to "..." with grep and select all
end tell
end tell
# Working
tell application "Jedit Ω"
tell front document
set words where it is "three" to "NUTS!"
end tell
end tell
Jedit Ω scripting is a little idiosyncratic in some ways, but it's waaay better than fooling with TextEdit.
-Chris