aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-11-21 02:57:57 +0100
committerTeddy Wing2018-11-21 02:57:57 +0100
commit88c92eb7efa560aa68dbb3c0f3d515e54e9eaf63 (patch)
tree777540bcfdf75a8e5fbf930feeab0ac080a9b360
parentcb001f10751d924de53d9078be62d6bdeeb8a7cc (diff)
downloadWord-Count-88c92eb7efa560aa68dbb3c0f3d515e54e9eaf63.tar.bz2
AppDelegate.applescript: Fix whitespace
Xcode was set to 4-space tabs, but the template-generated AppDelegate used tabs. Switch over to tabs.
-rw-r--r--Word Count/AppDelegate.applescript12
1 files changed, 6 insertions, 6 deletions
diff --git a/Word Count/AppDelegate.applescript b/Word Count/AppDelegate.applescript
index ff505b5..d8243ba 100644
--- a/Word Count/AppDelegate.applescript
+++ b/Word Count/AppDelegate.applescript
@@ -11,7 +11,7 @@ script AppDelegate
-- IBOutlets
property theWindow : missing value
- property fileName : missing value
+ property fileName : missing value
property theCharacters : missing value
property theWords : missing value
property theParagraphs : missing value
@@ -20,13 +20,13 @@ script AppDelegate
tell application "TextEdit"
set top_document to document 1
- set l_name to name of top_document
+ set l_name to name of top_document
set l_chars to count characters of top_document
set l_words to count words of top_document
set l_paragraphs to count paragraphs of top_document
end tell
- fileName's setStringValue_(l_name)
+ fileName's setStringValue_(l_name)
theCharacters's setStringValue_(l_chars)
theWords's setStringValue_(l_words)
theParagraphs's setStringValue_(l_paragraphs)
@@ -37,8 +37,8 @@ script AppDelegate
return current application's NSTerminateNow
end applicationShouldTerminate_
- on applicationShouldTerminateAfterLastWindowClosed_(sender)
- return YES
- end applicationShouldTerminateAfterLastWindowClosed_
+ on applicationShouldTerminateAfterLastWindowClosed_(sender)
+ return YES
+ end applicationShouldTerminateAfterLastWindowClosed_
end script