Skip to content

User Hotspot Notification in Console #16

Description

@jimfoltz

Since it is possible to create hotspot styles in the console, would it be possible to have a console hotspot click callback?

For example, I can write a hostspot using:

def write_styled(txt):
    mask = 7
    style = 2
    cons_ed = console.editor
    pos = console.editor.getLength()
    console.write(txt)
    cons_ed.setReadOnly(0)
    cons_ed.startStyling(pos, mask)
    cons_ed.setStyling(len(txt), style)

Then I tried:

console.editor.callback(myHotSpotFunc, [SCINTILLANOTIFICATION.HOTSPOTCLICK])

But this does not appear to be supported.

Activity

  1. bruderstein commented on Jun 1, 2014

    @bruderstein
    Owner

    Callbacks from the console scintilla are currently not supported. It'd be nice to have though, and there's no reason this couldn't be implemented now.

  2. added this to the v1.1 milestone on Jun 1, 2014
  3. modified the milestones: v1.1, v1.2 on May 27, 2018
  4. reopened this on May 27, 2018
  5. modified the milestones: v1.2, v1.3 on Jun 7, 2018
  6. modified the milestones: v1.3, v1.4 on Oct 9, 2018
  7. modified the milestones: v1.4, v1.5 on May 5, 2019
  8. modified the milestones: v1.5, v1.6 on Oct 15, 2019
  9. modified the milestones: v2.0, v3.0 on Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions