Hello all,
I'm trying to RE a binary and am using TiddlyWiki to document my results.
I've been tweaking the wiki in order to make cross referencing addresses
with disassembled code snippets easier. However, I've run into a snag.
I keep RAM/ROM addresses as individual tiddlers with "size", "address", and
"description" (quick summary) fields. One very useful thing for me would to
be able to lookup what an address does *without me losing my place in the
current code snippet,* which makes up the text field of certain tiddlers.
So I decided to implement a custom search bar underneath the standard
search bar. When I type in an address, the search bar will pop up the size,
address, and description fields of the tiddler(s) whose address field
matches. I don't have to move from my current position at all because the
fields for the current address are displayed nonintrusively.
Unfortunately, I'm not able to do this properly for reasons I don't
understand. I edited $:/core/ui/SideBarLists to add a custom search field,
but I am not able to access the text field or even the name of using the
$()$ syntax.
<$set name="addrSearchTiddler" value="$:/temp/addrsearch">
Address Lookup:
<$edit-text tiddler="$:/temp/addrsearch" type="search" tag="input"
focus={{$:/config/Search/AutoFocus}} focusPopup=<> class="tc-popup-handle"/>
<$reveal state="$:/temp/addrsearch" type="nomatch" text="">
<$text text=$(addrSearchTiddler)$ />
<$reveal state="$:/temp/addrsearch" type="match" text="">
The output of the following is:
Address Lookup: $(addrSearchTiddler)$
Although a similar method is used to implement the standard search, I feel
like this is not the proper way to implement a custom search. How might I
go about transcluding the text of $:/temp/addrsearch into a filter which
will then display the desired fields (size, address, description) in a
popup analogous to the standard search bar?
Thanks for any help :)! I don't post this message lightly, but I really
need to get back to actually collecting data/worry about convenience later.
And hey, when has a life hack ever actually paid for the time spent
implementing it :)?
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/b3b1b982-0204-4b1c-ae5b-1131e750f2e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.