Skip to content

Variable visibility changed#3720

Merged
JoeKar merged 1 commit into
micro-editor:masterfrom
cutelisp:Public-vars
Apr 29, 2025
Merged

Variable visibility changed#3720
JoeKar merged 1 commit into
micro-editor:masterfrom
cutelisp:Public-vars

Conversation

@cutelisp

Copy link
Copy Markdown
Contributor

Changed DoubleClick and TripleClick to public so they can be accessed by Lua plugins.

Changed DoubleClick and TripleClick to public so they can be accessed by
Lua plugins.
@dmaluka

dmaluka commented Apr 26, 2025

Copy link
Copy Markdown
Collaborator

Out of curiosity, how are you gonna use them in a plugin?

@cutelisp

Copy link
Copy Markdown
Contributor Author

Out of curiosity, how are you gonna use them in a plugin?

Something like this

function onMousePress(bp)
  if bp.DoubleClick then 
    myDoubleClickAction()
  end
end

@JoeKar JoeKar merged commit ca32ffb into micro-editor:master Apr 29, 2025
theredcmdcraft pushed a commit to theredcmdcraft/micro that referenced this pull request May 27, 2025
Changed DoubleClick and TripleClick to public so they can be accessed by
Lua plugins.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants