Menu

Having trouble with SynWrite

Help
2018-12-28
2018-12-29
  • Jim giordano

    Jim giordano - 2018-12-28

    I've recently started using GCB again after many years layoff.

    Synwrite is driving me crazy. It keeps locking up and dying so much I'm afraid to type more than three lines without doing a save. I've uninstalled, cleaned up, redownloaded the latest version an reinstalled several times with the same results. I'm using windows 10 home on a new laptop (two weeks old).

    The problem seems to occur most when ending a line by using a function and then hitting the down arrow cursor key when done.

    e.g. -- start a new file and the the following four lines-

    dim aa,bb,cc as string
    aa="Test"
    bb="isa"
    cc="test"

    Now move the cursor to the end of line 3 and type "+mid(aa,1)" and press the down arrow key to finish.
    Everything worked fine and you can move the cursor around without a problem.

    the file now looks like-

    dim aa,bb,cc as string
    aa="Test"
    bb="isa"+mid(aa,1)
    cc="test"

    Now move the cursor to the end of line 3 again and type "+mid(aa,2)" and press the down arrow key to finish.

    you now have-

    dim aa,bb,cc as string
    aa="Test"
    bb="isa"+mid(aa,1)+mid(aa,2)
    cc="test"

    But when you try to move the cursor around with arrow keys, it gets stuck on line three so the the up or down arrow or the the enter key do not work any longer. Once it gets in this state, there's no recovery and it dies shortly thereafter.

     
  • Jim giordano

    Jim giordano - 2018-12-28

    p.s. - I realize that line three may now be illegal, but the editor should still not hang up and die!

     
  • stan cartwright

    stan cartwright - 2018-12-28

    I tried this on win7 ultimate 32bit and win 10 pro 64bit without problems.
    sorry can't help.
    "new laptop (two weeks old)".........try a wireless mouse-so much better

     

    Last edit: stan cartwright 2018-12-28
  • MBB

    MBB - 2018-12-29

    I've been having the same problem as Jim for the past month or so. The IDE shuts down in the middle of writing code. When I reopen the IDE, the file I was working on does NOT show in the top bar where the files you are working on show up. Also, it does NOT show up in File > Recent files. I must go to File > Open to retrieve it.

    I am using Windows 10.

     
  • Anobium

    Anobium - 2018-12-29

    My experience, and, I use SYN.exe exclusivley, so my experience is not your expoerience. I very, very rarely do get crashes. I cannot reproduce.

    But, over the years the issue, as reported to this Forum, does seems to relate to the Lex parser. For the life of me I do not know how to turn off!

    :-)

     
  • mkstevo

    mkstevo - 2018-12-29

    I thought I'd had this problem myself. I had been running GCB/SynWrite under WINE, on my Mac and I had been plagued with crashes. I got around it by disabling the AutoComplete options.

    Anobium kindly posted a picture showing these options for SynWrite here: Anobiums picture

    I also went into the SynWrite Directory and renamed the autocomplete and highlighting libraries from : GreatCowBasic.acp and GreatCowBasic.gcb to anything else. These are located under GCB@Syn > SynWrite > Data > autocomplete

    This stopped what had become an almost hourly crash in SynWrite (under WINE) to no crashes at all.

     

    Last edit: mkstevo 2018-12-29
    • Anobium

      Anobium - 2018-12-29

      @MKStevo. I forgot!! Thank you

       
  • Jim giordano

    Jim giordano - 2018-12-29

    That worked, thanks much!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.