Skip to content

Instantly share code, notes, and snippets.

@1024jp
Created March 8, 2012 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 1024jp/2002686 to your computer and use it in GitHub Desktop.
Save 1024jp/2002686 to your computer and use it in GitHub Desktop.
Select Whole Current Lines on CotEditor
(*
Select Whole Current Lines
[description]
select whole lines of the cursor position or the selection
[version] 1.0
[release] 2012-03-08
[author] 1024jp <http://wolfrosch.com/>
[licence] public domain
[default key assign]
Command + Shift + A
*)
tell application "CotEditor"
if exists front document then
tell front document
set line range of selection to line range of selection
end tell
end if
end tell
(*
Select Whole Current Lines
[description]
select whole of lines in which the cursor or the selection is
[version] 1.0
[release] 2012-03-08
[author] 1024jp <http://wolfrosch.com/>
[licence] public domain
[default key assign]
Command + Shift + A
*)
tell application "CotEditor"
if exists front document then
tell front document
set line range of selection to line range of selection
end tell
end if
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment