Update: well, I seem to have found what I was looking for in “samples\tests\ExtensionsTest\EditBoxTest\EditBoxTest.js”. It’s a shame to have to load extensions just for adding that functionality, but oh well.

PS: also, there is no info in the online documentation about this classes, althoght there is jsdoc information in “CCEditBox.js”.