QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: hanness on September 25, 2021, 10:13:39 pm
-
Sorry, I already had one idea today that I posted earlier, but here is another.
There are times when I open 2 QB64 Windows side by side so that I can compare some existing code from one Window and start making modifications to a copy of the file in the other window. However, there are times where I accidentally started doing code updates in the wrong window. It would be great if there was a toggle to make one window a view only window. That way, if I started trying to type into the wrong window and saw that nothing was happening (or maybe even a beep could play), I would have instant visual feedback that this is my view only window.
-
@hanness
Best of luck trying to get developers to do this - had this kind of issue before (multiple instances of QB64).
My work around was simply to have for the second instance (say the one where it is to be read only) a IDE background of RED (say). Note that if you "exit" the second instance (normally) then the color background (instance number 2) is saved in the config.ini file (qb64\internal\ folder). Of course this assumes that you were only using the exact same qb64 folder for both instances (i.e. not using 2 completely different qb64 folders to launch the two instances).
Also, without any luck myself, asked for both manual refresh and auto refresh buttons for QB64 IDE.
Hope this helps you.
-
@hanness
Hi. The editor built into Total Commander will be perfect for this purpose. You go to the file and press F3 - and you read the file without the possibility of editing. Is supported Ctrl+F for fast search. Plus, it has a different look, so you don't just get so easy confused. Or there is a second option - to make your own BAS file reader - without the possibility of editing, with row and column numbering, as the IDE has. It shouldn't be that complicated (if we're really just talking about primitive content browsing without text formating).
Total commander can be downloaded from ghisler.com website.
-
Thanks for the suggestion. I will give it a try.