Multiple cursor by clicking

Hello: How can I implement multiple cursors by clicking.

Example: PopSql

See allowMultipleSelections and clickAddsSelectionRange.