📄 b30-1882320.zul
字号:
<?xml version="1.0" encoding="UTF-8"?><!--B30-1882320.zul{{IS_NOTE Purpose: Description: History: Wed Jan 30 11:31:38 TST 2008, Created by jumperchen}}IS_NOTECopyright (C) 2007 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT--><zk xmlns:n="http://www.zkoss.org/2005/zk/native"> <n:p>setSelectionRange won't work at following case due to the smartupdate. If you see the text is selected from 1 to 2, it is correct.</n:p> <window id="win"> <zscript> Textbox textboxTest = new Textbox(); textboxTest.setParent(win); textboxTest.setValue( "0123456789" ); textboxTest.setSelectionRange(1,3); </zscript></window></zk>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -