Skip to content

Comments

Variable visibility changed#3720

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

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

Conversation

@cutelisp
Copy link
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
Copy link
Collaborator

dmaluka commented Apr 26, 2025

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

@cutelisp
Copy link
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
6 checks passed
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