Skip to content

User Hotspot Notification in Console #16

@jimfoltz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions