This function is public. It can be used by both user and programmer.
QxSelectionManager.selectItemRange(vItem1, vItem2);