FingerText icon indicating copy to clipboard operation
FingerText copied to clipboard

Getting started with FingerText and Notepad++: Hot-spots disappearing

Open aliteralmind opened this issue 11 years ago • 5 comments

This is duplicated from stackoverflow:

http://stackoverflow.com/q/21273888/2736496


I've been using TextPad for 15 years or so, and I'm daring to give Notepad++ a try. After reading this answer

http://stackoverflow.com/a/7737503/2736496

and watching his cool video, I'm also giving FingerText a try.

I have the following snippet, which contains four hot-spots, the first and third of which share the same output-text.

  catch(RuntimeException rtx)  {
   CIObject.nullOrReturnCause($[![var-name]!], $[![(lis)s_clgFunc|YYY|"YYY"]!], "$[![var-name]!]", $[![(lis)null|o_xtraInfo]!], rtx);
}$[0[]0][>END<]

It is working just fine, up until I get to the second hotspot: $[![(lis)s_clgFunc|YYY|"YYY"]!]. While it presents the three options in a drop-down, as expected, and it prints my selection correctly, it is causing the next two hotspots to disappear.

After typing o_theObject into the first hotspot--which is duplicated into the third--this is the result:

  catch(RuntimeException rtx)  {
   CIObject.nullOrReturnCause(o_theObject, $[![(lis)s_clgFunc|YYY|"YYY"]!], "o_theObject", $[![(lis)null|o_xtraInfo]!], rtx);
}$[0[]0]

Good so far. Now hotspot two, $[![(lis)s_clgFunc|YYY|"YYY"]!], is highlighted, and I choose "YYY" from its drop-down. It results in this:

  catch(RuntimeException rtx)  {
CIObject.nullOrReturnCause(o_theObject, "YYY", rtx);
}$[0[]0]

This is unexpected. The third hotspot (the duplicate of the first) has disappeared, as has the fourth: $[![(lis)null|o_xtraInfo]!].

What am I missing here? Thank you for helping me.

aliteralmind avatar Jan 22 '14 04:01 aliteralmind

I found this bug as well. For some reason the List (lis) hotspot sometimes deletes the next line or subsequent hotspots. I ended up using (opt) instead as a workaround as updates to this project havent really happened in a while.

jorgesanchez avatar Mar 27 '14 21:03 jorgesanchez

It's a shame. A great project left to languish.

aliteralmind avatar Mar 27 '14 22:03 aliteralmind

I am experiencing this bug as well and decided to use (opt) instead of (lis) as a workaround but I was convinced I was doing something wrong until I decided to look for the FingerText project in GitHub and found this thread. Is the project definitely abandoned?

AleCaste avatar Jul 09 '14 15:07 AleCaste

Valid and serious support responses are left unanswered after seven months. I'd call that as close to official as you're going to get.

aliteralmind avatar Jul 09 '14 16:07 aliteralmind

Hopefully this response will help someone, as this issue/project is quiet for some time.

It seems the dynamic list hotspot deletes all text until it finds the closing text of the next hotspot. So if you put an empty hotspot (tab) directly after your list hotspot, it will delete that empty hotspot and no more.

In case of the list hotspot, FingerText is probably trying to delete the tags twice. It does when you first tab to the hotspot, after which it shows the list. And again after when you select from the list.

The before mentioned option hotspot is no solution for me. The arrow keys won't select the next option, instead the arrows keys just move the cursor.

fintho avatar Sep 28 '15 16:09 fintho