• Again Panic

    From Michiel van der Vlist@2:280/5555 to Alexander N. Skovpen on Thu Apr 4 15:38:03 2019
    Hello Alexander,

    My suspicion is that this is related to the repeated use of control Y to delete lines.

    panic: runtime error: index out of range

    goroutine 1 [running]: github.com/askovpen/goated/vendor/github.com/askovpen/gocui.(*View).EditEnd(0x1 10445a0, 0x
    1102bf28, 0x110ef9c0)

    c:/gopath/src/github.com/askovpen/goated/vendor/github.com/askovpen/gocui/edit. go :
    81 +0x89 github.com/askovpen/goated/vendor/github.com/askovpen/gocui.simpleEditor(0x1104 45a0, 0xfff
    0, 0x0, 0x1108c500)

    c:/gopath/src/github.com/askovpen/goated/vendor/github.com/askovpen/gocui/edit. go :
    49 +0x1a3 github.com/askovpen/goated/vendor/github.com/askovpen/gocui.EditorFunc.Edit(0x5 545b4, 0x11
    0445a0, 0x1102fff0, 0x0, 0x0)

    c:/gopath/src/github.com/askovpen/goated/vendor/github.com/askovpen/gocui/edit. go :
    27 +0x3f github.com/askovpen/goated/vendor/github.com/askovpen/gocui.(*Gui).onKey(0x110b 8fa0, 0x110
    2bee0, 0x110cccc0, 0x11037f80)

    c:/gopath/src/github.com/askovpen/goated/vendor/github.com/askovpen/gocui/gui.g o: 6
    01 +0x1ca github.com/askovpen/goated/vendor/github.com/askovpen/gocui.(*Gui).handleEvent( 0x110b8fa0 ,
    0x1102bee0, 0x2, 0x0)

    c:/gopath/src/github.com/askovpen/goated/vendor/github.com/askovpen/gocui/gui.g o: 4
    13 +0x30 github.com/askovpen/goated/vendor/github.com/askovpen/gocui.(*Gui).MainLoop(0x1 10b8fa0, 0x
    554604, 0x110745a0)



    Cheers, Michiel

    --- GoldED+/W32-MSVC 1.1.5-b20170303
    * Origin: http://www.vlist.eu (2:280/5555)
  • From Alexander N. Skovpen@2:5020/9696.128 to Michiel van der Vlist on Thu Apr 4 20:55:18 2019
    Hello Michiel van der Vlist!

    04 Apr 19 15:38:02, Michiel van der Vlist wrote to Alexander N. Skovpen:

    MvdV> My suspicion is that this is related to the repeated use of control Y to delete lines.
    MvdV> panic: runtime error: index out of range
    fixed 1.0.5

    Alexander


    --- ════════╦╦═╦╦═╗╔════
    * Origin: ═╩══╬╩═╩╩═╬╬═ (2:5020/9696.128)
  • From Michiel van der Vlist@2:280/5555 to Alexander N. Skovpen on Thu Apr 4 19:04:32 2019
    Hello Alexander N. Skovpen!

    04 Apr 19 20:55:18, Alexander N. Skovpen wrote to Michiel van der Vlist:

    MvdV>> My suspicion is that this is related to the repeated use of control Y to delete lines.
    MvdV>> panic: runtime error: index out of range

    fixed 1.0.5

    Got it. Tnx!

    What remains is that control Y to delete a line sometimes stops working after some editing.


    Michiel


    --- goAtEd-windows/386 1.0.5-154-a1826692
    * Origin: (2:280/5555)
  • From Michiel van der Vlist@2:280/5555 to Alexander N. Skovpen on Fri Apr 5 20:55:06 2019
    Hello Alexander N. Skovpen!

    04 Apr 19 20:55:18, Alexander N. Skovpen wrote to Michiel van der Vlist:


    MvdV>> My suspicion is that this is related to the repeated use of control Y to delete lines.
    MvdV>> panic: runtime error: index out of range
    fixed 1.0.5

    I am afraid not....

    Again after repeated use of control Y.

    panic: runtime error: index out of range

    goroutine 1 [running]: github.com/askovpen/goated/vendor/github.com/askovpen/gocui.(*View).EditEnd(0x1 1044b40, 0x
    , 0x110f1c40)

    c:/gopath/src/github.com/askovpen/goated/vendor/github.com/askovpen/gocui/edit. go:
    x89 github.com/askovpen/goated/vendor/github.com/askovpen/gocui.simpleEditor(0x1104 4b40, 0xfff
    c500)

    c:/gopath/src/github.com/askovpen/goated/vendor/github.com/askovpen/gocui/edit. go:

    48 hub.com/askovpen/goated/vendor/github.com/askovpen/gocui.EditorFunc.Edit(0x5555 f4, 0x11+0x1a3
    044b40, 0x1102fff0, 0x0, 0x0)

    c:/gopath/src/github.com/askovpen/goated/vendor/github.com/askovpen/gocui/edit. go:

    2ithub.com/askovpen/goated/vendor/github.com/askovpen/gocui.(*Gui).onKey(0x110b 8fa0, 0x110
    29ee0, 0x110770c0, 0x11037fd0)

    c:/gopath/src/github.com/askovpen/goated/vendor/github.com/askovpen/gocui/gui.g o:66 +0x3f
    a github.com/askovpen/goated/vendor/github.com/askovpen/gocui.(*Gui).handleEvent( 0x110b8fa0,
    0x0)

    c:/gopath/src/github.com/askovpen/goated/vendor/github.com/askovpen/gocui/gui.g o:4

    13 +ub.com/askovpen/goated/vendor/github.com/askovpen/gocui.(*Gui).MainLoop(0x110b 8fa0, 0x0x30
    55644, 0x110745d0)

    c:/gopath/src/github.com/askovpen/goated/vendor/github.com/askovpen/gocui/gui.g o:3
    73 +0x1f3
    main.main()
    c:/gopath/src/github.com/askovpen/goated/goated.go:61 +0x426



    Michiel


    --- goAtEd-windows/386 1.0.5-154-a1826692
    * Origin: (2:280/5555)