toggleComment

abstract fun toggleComment(targetText: String, commentFullLine: Boolean, atMinTab: Boolean): String

Toggle a comment for the provided text.

Parameters

targetText

The text to toggle comment for.

commentFullLine

Must comment the full lines of text.

atMinTab

true comments out the provided text placing the initial comment syntax on each line at the character position just after the minTabCount position for the target text.