Not true, its just what I am looking for is a subset of this larger question.
The cursor position on a plain text un-rendered view, which should be easier and there is a one for one match between positions.
To summarise my smart showcode utility makes a good guess if the content of the tiddler is code rather than something to render, such as ones macro definitions, using a number of qualities, if it is a "code tiddler" it displays that code as plain text. For example open a system tiddler that has not being edited and you get a plain text display you can select and copy from without "editing the tiddler" just to see the content, To avoid unnecessary edits to shadow tiddlers, you need to explicitly use the edit button to edit it.
If however you open an overwritten shadow tiddler, or a code tiddler of your own making, you see the plain text (show code view) and have a click to edit feature. It is this click to edit I would like to allow to determine where in the plain text view you click, and restore the cursor to that position in the edit view.
Advanced search and Control panel as examples, are system/code tiddlers you want rendered, so I provide a way to override the showcode not to display on these.
So say I am looking through core code to find the actions message or widget used to do something, I search system tiddlers and get three hits, so I open these three, and they are all readable at first glance because they are code tiddlers. I find the action widget I was after and select and copy the code, now I return to my own code tiddler, the one I am developing, scan through to find where I want to insert the code and click exactly where I want, to insert the new action, and click, the tiddler goes into edit mode and the cursor is where I clicked, ctrl-V to insert and I am done.
Perhaps one day one could even insert in that position without going into edit mode. This would allow drag and drop coding nice and easy.
To make this even easier, I would add the search highlight plugin to help in the code search.
I hope this explains the use case?
Regards
TW Tones