stepan-mitkin / drakon_editor

DRAKON Editor
357 stars 59 forks source link

Open a DRAKON diagram highlighting a particular item and line of code #7

Open rraallvv opened 8 years ago

rraallvv commented 8 years ago

I’m trying to find a way to “see” the compile errors from within the DRAKON Editor. Maybe adding a command line parameter to highlight (or just select) a particular item and lines of code would do the job.

stepan-mitkin commented 8 years ago

Ctrl-I selects an item by item id. Is that what you want?

rraallvv commented 8 years ago

@stepan-mitkin

CMD+I works from within the editor, I was thinking maybe something like a parameter to pass over to the editor from the command line.

Something like:

$tclsh drakon_editor.tcl my_diagram.drn --item 20

So that one can automate a custom script to open the diagram and item that is throwing a compile error.