This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open the debug console with Ctrl+: (which is Ctrl+Shift+; on US keyboards) | |
# (Don't have the browser window open when you do.) | |
# Run it with Ctrl+Enter | |
# Remove the # from the last line to actually save the changes | |
s = r'regular expression to search for goes here' | |
srcField = 'Source Field Name goes here' | |
tgtField = 'Target Field Name goes here' | |
noteType = 'Name of the Note Type goes here' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SwiftUI View for getting taps with(!) the tap locations unlike the current tapAction and tapGestures of SwiftUI | |
// There may be a way easier way to do this, not sure... | |
/* | |
Use like so: | |
TappableView { | |
(location, taps) in | |
if taps == 1 { | |
print("single tap at \(location)") |