Skip to content

Conversation

mark-wiemer
Copy link
Owner

@mark-wiemer mark-wiemer commented Mar 6, 2025

In AHK, a function is anything callable. A method is a function attached to an object. In short, all methods are functions, but not all functions are methods.

Previously, AHK++ referred to all functions as methods. This PR changes that for both user-facing and internal references wherever the change is non-breaking. Settings have not been renamed as that would be breaking. Some mentions may have been missed and will be cleaned up later.

This also changes the document outline slightly. All functions are now reported as functions instead of methods. This is true even if the function is a method. This may break tools that depended on symbols being reported as methods, but AHK++ is not designed to support those tools, and that behavior was incorrect, so this is not a breaking change.

Really, the only change is that it now says function where it used to say method:

image

Some themes may have a different icon for functions vs methods, but the Default Dark+ theme does not.

@mark-wiemer mark-wiemer added this to AHK++ Mar 6, 2025
@mark-wiemer mark-wiemer enabled auto-merge (squash) March 6, 2025 03:26
@mark-wiemer mark-wiemer merged commit c88e8b8 into main Mar 6, 2025
3 checks passed
@mark-wiemer mark-wiemer deleted the 205-include-2 branch March 6, 2025 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant