Skip to content

Internal error: starting index is out of range #458

Open
@sorawee

Description

@sorawee
open-input-text-editor: starting index is out of range
  starting index: 19
  valid range: [0, 18]
  editor: (object:add-on-paint-logging ...)
  context...:
   /Users/sorawee/projects/racket/extra-pkgs/gui/gui-lib/mred/private/snipfile.rkt:24:4: open-input-text-editor
   /Users/sorawee/projects/racket/extra-pkgs/gui/gui-lib/framework/private/color.rkt:592:4: colorer-driver method in text-mixin
   /Users/sorawee/projects/racket/extra-pkgs/gui/gui-lib/framework/private/color.rkt:615:4: colorer-callback method in text-mixin
   /Users/sorawee/projects/racket/extra-pkgs/gui/gui-lib/mred/private/wx/common/queue.rkt:435:6
   /Users/sorawee/projects/racket/extra-pkgs/gui/gui-lib/mred/private/wx/common/queue.rkt:433:3

Steps to reproduce:

  1. Open a new tab.
  2. Paste (('x (#<))).
  3. Undo.

The internal error should occur.

EDITED: sorry, should have put this in racket/gui. Feel free to move if anyone wants to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions