Dear all,
after receiving many mails with suggestions to improve the Hypersearch tool I rewrote the whole code.
Short description (for more details see bundle's help): - look for all occurrences of the search pattern - normal string search or regular expression (PERL) - Unicode safe for regular expressions and case insensitivity - comes with its own dialog (a simplified and modified CocoaDialog) -- text field for search pattern -- check boxes for Regular expression, Ignore case, and Wrap long lines -- each field has its own keyboard shortcut (see help) - search parameters are persistent and make use of TM_SELECTED_TEXT - the output is an HTML page - the lines are implemented as hyperlinks to the line AND column - there is no need to save your current document in beforehand to use Hypersearch
Change for the future: - usage of TM_DIALOG - add the ability to search across lines - ...
Feedback is welcomed.
All the best,
Hans-Jörg
********************************************************** Hans-Joerg Bibiko Max Planck Institute for Evolutionary Anthropology Department of Linguistics Deutscher Platz 6 phone: +49 (0) 341 3550 341 D-04103 Leipzig fax: +49 (0) 341 3550 333 Germany e-mail: bibiko@eva.mpg.de **********************************************************
I'm terribly excited about this new release, but this is the error I get:
ZeroLink: could not load .o file: /Users/Bibiko/cocoadialog/build/ CocoaDialog.build/Development/CocoaDialog.build/Objects-normal/ppc/ AppController.ob ZeroLink: could not load .o file: /Users/Bibiko/ cocoadialog/build/CocoaDialog.build/Development/CocoaDialog.build/ Objects-normal/ppc/CDControl.ob ZeroLink: could not load .o file: / Users/Bibiko/cocoadialog/build/CocoaDialog.build/Development/ CocoaDialog.build/Objects-normal/ppc/CDInputboxControl.ob ZeroLink: could not load .o file: /Users/Bibiko/cocoadialog/build/ CocoaDialog.build/Development/CocoaDialog.build/Objects-normal/ppc/ CDOptions.ob ZeroLink: could not load .o file: /Users/Bibiko/ cocoadialog/build/CocoaDialog.build/Development/CocoaDialog.build/ Objects-normal/ppc/CDStandardInputboxControl.ob ZeroLink: could not load .o file: /Users/Bibiko/cocoadialog/build/CocoaDialog.build/ Development/CocoaDialog.build/Objects-normal/ppc/main.ob ZeroLink: could not load .o file: /Users/Bibiko/cocoadialog/build/ CocoaDialog.build/Development/CocoaDialog.build/Objects-normal/ppc/ CDThreeButtonControl.ob
Thanks, Brett
On Oct 24, 2006, at 5:21 AM, Hans-Joerg Bibiko wrote:
Dear all,
after receiving many mails with suggestions to improve the Hypersearch tool I rewrote the whole code.
Short description (for more details see bundle's help):
- look for all occurrences of the search pattern
- normal string search or regular expression (PERL)
- Unicode safe for regular expressions and case insensitivity
- comes with its own dialog (a simplified and modified CocoaDialog)
-- text field for search pattern -- check boxes for Regular expression, Ignore case, and Wrap long lines -- each field has its own keyboard shortcut (see help)
- search parameters are persistent and make use of TM_SELECTED_TEXT
- the output is an HTML page
- the lines are implemented as hyperlinks to the line AND column
- there is no need to save your current document in beforehand to
use Hypersearch
Change for the future:
- usage of TM_DIALOG
- add the ability to search across lines
- ...
Feedback is welcomed.
All the best,
Hans-Jörg
<Hypersearch.tmbundle.zip>
Hans-Joerg Bibiko Max Planck Institute for Evolutionary Anthropology Department of Linguistics Deutscher Platz 6 phone: +49 (0) 341 3550 341 D-04103 Leipzig fax: +49 (0) 341 3550 333 Germany e-mail: bibiko@eva.mpg.de
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Oops,
sorry I forgot to use the right linkage.
I will fix it. Please wait ;)
Thanks,
Hans
On 24 Oct 2006, at 12:53, Brett Terpstra wrote:
I'm terribly excited about this new release, but this is the error I get:
ZeroLink: could not load .o file: /Users/Bibiko/cocoadialog/build/ CocoaDialog.build/Development/CocoaDialog.build/Objects-normal/ppc/ AppController.ob ZeroLink: could not load .o file: /Users/Bibiko/ cocoadialog/build/CocoaDialog.build/Development/CocoaDialog.build/ Objects-normal/ppc/CDControl.ob ZeroLink: could not load .o file: / Users/Bibiko/cocoadialog/build/CocoaDialog.build/Development/ CocoaDialog.build/Objects-normal/ppc/CDInputboxControl.ob ZeroLink: could not load .o file: /Users/Bibiko/cocoadialog/build/ CocoaDialog.build/Development/CocoaDialog.build/Objects-normal/ppc/ CDOptions.ob ZeroLink: could not load .o file: /Users/Bibiko/ cocoadialog/build/CocoaDialog.build/Development/CocoaDialog.build/ Objects-normal/ppc/CDStandardInputboxControl.ob ZeroLink: could not load .o file: /Users/Bibiko/cocoadialog/build/CocoaDialog.build/ Development/CocoaDialog.build/Objects-normal/ppc/main.ob ZeroLink: could not load .o file: /Users/Bibiko/cocoadialog/build/ CocoaDialog.build/Development/CocoaDialog.build/Objects-normal/ppc/ CDThreeButtonControl.ob
Dear all,
sorry for my mistake but I forgot to set the zero link flag.
Hopefully this version works.
Please check if it also works on Intel Macs and other Mac OSX versions than 10.4!
All the best,
Hans-Jörg
Here is the link for downloading:
http://email.eva.mpg.de/~bibiko/downloads/textmate/ Hypersearch.tmbundle.zip [145 kb]
The bundle size is now to large for the list.
Hi,
and finally here comes the cleaned up version of the Hypersearch bundle.
http://email.eva.mpg.de/~bibiko/downloads/textmate/ Hypersearch.tmbundle.zip [76 kb]
But one tiny problem is still there:
I would like to include an image to the help page which is written in markdown. I tested it on my Mac, it works. Then I reinstalled the bundle and the image disappeared?? I used the following syntax:
![Hypersearch dialog](Hypersearch.png)
Should I use the complete path to the image? And if yes, how can I get it? Or is it an issue of access rights?
Many thanks
Hans-Jörg
This produces the following error for me:
object - object was probably modified after being freed, break at szone_error to debug CocoaDialog(14018,0xb836b040) malloc: *** set a breakpoint in szone_error to debug CocoaDialog(14018,0x82016a00) malloc: *** error for object 0x82001c00: incorrect checksum for freed object - object was probably modified after being freed, break at szone_error to debug CocoaDialog(14018,0x82016a00) malloc: *** set a breakpoint in szone_error to debug
Any thoughts?
On Oct 24, 2006, at 5:20 AM, Hans-Joerg Bibiko wrote:
Hi,
and finally here comes the cleaned up version of the Hypersearch bundle.
http://email.eva.mpg.de/~bibiko/downloads/textmate/ Hypersearch.tmbundle.zip [76 kb]
But one tiny problem is still there:
I would like to include an image to the help page which is written in markdown. I tested it on my Mac, it works. Then I reinstalled the bundle and the image disappeared?? I used the following syntax:
![Hypersearch dialog](Hypersearch.png)
Should I use the complete path to the image? And if yes, how can I get it? Or is it an issue of access rights?
Many thanks
Hans-Jörg
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Dear all,
hopefully I fixed the problem also for Intel Macs.
Please verify!
The new Bundle is available via
http://email.eva.mpg.de/~bibiko/downloads/textmate/Hypersearch.tmbundle.zip
Best,
Hans-Jörg
This produces the following error for me:
object - object was probably modified after being freed, break at szone_error to debug CocoaDialog(14018,0xb836b040) malloc: *** set a breakpoint in szone_error to debug CocoaDialog(14018,0x82016a00) malloc: *** error for object 0x82001c00: incorrect checksum for freed object - object was probably modified after being freed, break at szone_error to debug CocoaDialog(14018,0x82016a00) malloc: *** set a breakpoint in szone_error to debug
Any thoughts?
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
On 24. Oct 2006, at 14:20, Hans-Joerg Bibiko wrote:
But one tiny problem is still there:
I would like to include an image to the help page which is written in markdown. I tested it on my Mac, it works. Then I reinstalled the bundle and the image disappeared?? I used the following syntax:
![Hypersearch dialog](Hypersearch.png)
Should I use the complete path to the image? And if yes, how can I get it? Or is it an issue of access rights?
The problem is that the base URL for a command will be something like tm-internal://… so when you reference a file with a relative path, it will be relative to that.
So yes, you would need to specify the full path or use something like this, just before calling Markdown.pl:
echo "<base href='tm-file://${TM_BUNDLE_SUPPORT// /%20}/ help.markdown'>"
That should make all paths relative to your help document.
And why it is tm-file instead of file, well, that’s some WebKit security stuff not allowing to “jump” for arbitrary scheme to file, so I had to create my own tm-file…
But one tiny problem is still there:
I would like to include an image to the help page which is written in markdown. I tested it on my Mac, it works. Then I reinstalled the bundle and the image disappeared?? I used the following syntax:
![Hypersearch dialog](Hypersearch.png)
Should I use the complete path to the image? And if yes, how can I get it? Or is it an issue of access rights?
The problem is that the base URL for a command will be something like tm-internal://… so when you reference a file with a relative path, it will be relative to that.
So yes, you would need to specify the full path or use something like this, just before calling Markdown.pl:
echo "<base href='tm-file://${TM_BUNDLE_SUPPORT// /%20}/
help.markdown'>"
That should make all paths relative to your help document.
As always, thanks you very much for the hint. I knew it that I've to set the base url, but I didn't know the syntax of 'tm-file'
Best,
Hans