This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 9a63f32
committed
Fix initial setting of LCB editor pref
The following command sequence (in message box):
`put revIDEGetPreference("LCB_textEditor") into tEditor; launch ".../treeviewx.lcb" with tEditor; put the result`
Results in the value of `tEditor` when successful (although success in opening the file is not guaranteed)
Added a check for "no such program" in the case where the specified editor is no longer available
Updated code to use the `tEditor` variable in place of `it` for clarity
Added a check for `tResult` being `tEditor` to not display an error1 parent 30b763a commit 9a63f32
1 file changed
Lines changed: 7 additions & 5 deletions
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
596 | | - | |
| 596 | + | |
| 597 | + | |
597 | 598 | | |
598 | | - | |
599 | | - | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
600 | 602 | | |
601 | 603 | | |
602 | 604 | | |
603 | | - | |
| 605 | + | |
604 | 606 | | |
605 | 607 | | |
606 | 608 | | |
607 | 609 | | |
608 | | - | |
| 610 | + | |
609 | 611 | | |
610 | 612 | | |
611 | 613 | | |
| |||
0 commit comments