Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small improvements to logical and symbols keyboard #9419

Merged
merged 1 commit into from
Feb 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions instat/ucrCalculator.vb
Original file line number Diff line number Diff line change
Expand Up @@ -2077,43 +2077,43 @@ Public Class ucrCalculator
If chkShowParameters.Checked Then
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("ifelse(test= , ""yes"" , ""no"")", 15)
Else
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("ifelse( )", 2)
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("ifelse(, , )", 5)
End If
End Sub

Private Sub cmdmatch_Click(sender As Object, e As EventArgs) Handles cmdmatch.Click
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("match( )", 2)
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("match(, )", 3)
End Sub

Private Sub cmdwhen_Click(sender As Object, e As EventArgs) Handles cmdwhen.Click
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("dplyr::case_when( )", 2)
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("dplyr::case_when(, )", 3)
End Sub

Private Sub cmdBetween_Click(sender As Object, e As EventArgs) Handles cmdBetween.Click
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("dplyr::between( )", 2)
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("dplyr::between(, , )", 5)
End Sub

Private Sub cmdNear_Click(sender As Object, e As EventArgs) Handles cmdNear.Click
If chkShowParameters.Checked Then
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("dplyr::near(x= , y= )", 6)
Else
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("dplyr::near( )", 2)
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("dplyr::near(, )", 3)
End If
End Sub

Private Sub cmdCalcRepelicationFunction_Click(sender As Object, e As EventArgs) Handles cmdCalcRepelicationFunction.Click
If chkShowParameters.Checked Then
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("rep(x = , times = , length = , each = )", 32)
Else
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("rep( )", 2)
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("rep(, )", 3)
End If
End Sub

Private Sub cmdCalcSequenceFunction_Click(sender As Object, e As EventArgs) Handles cmdCalcSequenceFunction.Click
If chkShowParameters.Checked Then
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("seq(from = , to = , by = , length = )", 28)
Else
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("seq( )", 2)
ucrReceiverForCalculation.AddToReceiverAtCursorPosition("seq(, , )", 5)
End If
End Sub

Expand Down
Loading