From bccefa18c72465b2ec41a23eeda5ceb6f4d36204 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 9 Nov 2010 11:38:44 +0000 Subject: =?UTF-8?q?=E2=80=A2=20added=20to=20SPStringAddition=20the=20metho?= =?UTF-8?q?d=20runBashCommandWithEnvironment:atCurrentDirectoryPath:error?= =?UTF-8?q?=20which=20will=20run=20self=20as=20bash=20command=20and=20will?= =?UTF-8?q?=20return=20its=20result=20-=20if=20an=20error=20occurred=20it?= =?UTF-8?q?=20will=20return=20a=20NSError=20if=20desired=20-=20added=20the?= =?UTF-8?q?=20chance=20to=20pass=20shell=20environment=20variables=20and?= =?UTF-8?q?=20start=20directory=20for=20future=20usage=20in=20user-definab?= =?UTF-8?q?le=20plugins=20written=20as=20scripts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPTextView.m | 101 +++++++--------------------------------------------- 1 file changed, 12 insertions(+), 89 deletions(-) (limited to 'Source/SPTextView.m') diff --git a/Source/SPTextView.m b/Source/SPTextView.m index 08feffe4..0686fbb2 100644 --- a/Source/SPTextView.m +++ b/Source/SPTextView.m @@ -1711,10 +1711,19 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse) if(tagRange.length) { [theHintString flushCachedRegexData]; NSRange cmdRange = [theHintString rangeOfRegex:@"(?s)(?