⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gui1.js

📁 ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.
💻 JS
📖 第 1 页 / 共 5 页
字号:
{this._timer.stop();};_p.getStarted=function()
{return this._timer.getEnabled();};_p.dispose=function()
{if(this._disposed)return;BiProgressBar.prototype.dispose.call(this);this._timer.dispose();this._timer=null;};function BiSlider(sOrientation){if(_biInPrototype)return;BiComponent.call(this);this.setCssClassName("bi-slider");this._rangeModel=new BiRangeModel();this._line=new BiComponent;this._line.setCssClassName("bi-slider-line");this._line.setAppearance("slider-line");this.add(this._line);this._thumb=new BiComponent;this._thumb.setCssClassName("bi-slider-thumb");this._thumb.setAppearance("slider-thumb");this.add(this._thumb);this._orientation=null;this.setOrientation(sOrientation||"horizontal");if(this._orientation=="horizontal")
this.setSize(200,22);else this.setSize(22,200);this.setTabIndex(1);this._timer=new BiTimer;this._timer.setInterval(100);this._rangeModel.addEventListener("change",this._onchange,this);this.addEventListener("mousedown",this._onmousedown);this.addEventListener("mousewheel",this._onmousewheel);this.addEventListener("keydown",this._onkeydown);this._timer.addEventListener("tick",this._ontick,this);}
_p=_biExtend(BiSlider,BiComponent,"BiSlider");_p._blockIncrement=10;_p._unitIncrement=1;_p._tickIncrease=null;_p.setOrientation=function(sOrientation){if(this._orientation!=sOrientation){this._orientation=sOrientation;this.setAppearance("slider-"+sOrientation);if(sOrientation=="horizontal"){this._line.setLeft(0);this._line.setRight(0);this._line.setBottom(null);}
else{this._line.setTop(0);this._line.setBottom(0);this._line.setRight(null);}
this._layoutLine();this._layoutThumb();}};BiSlider.prototype.getOrientation=function(){return this._orientation;};_p.getPreferredWidth=function()
{if(this._preferredWidth!=null)
return this._preferredWidth;return this._orientation=="horizontal"?200:22;};_p.getPreferredHeight=function()
{if(this._preferredHeight!=null)
return this._preferredHeight;return this._orientation=="horizontal"?22:200;};_p.setValue=function(nValue){this._rangeModel.setValue(nValue);};_p.getValue=function(){return this._rangeModel.getValue();};_p.setMaximum=function(nMaximum){this._rangeModel.setMaximum(nMaximum);};_p.getMaximum=function(){return this._rangeModel.getMaximum();};_p.setMinimum=function(nMinimum){this._rangeModel.setMinimum(nMinimum);};_p.getMinimum=function(){return this._rangeModel.getMinimum();};_p.layoutAllChildren=function(){this._layoutThumb();this._layoutLine();BiComponent.prototype.layoutAllChildren.call(this);};_p._layoutLine=function()
{if(this._created)
{if(this._orientation=="horizontal")
{this._line.setTop((this.getClientHeight()-this._line.getHeight())/2);}
else {this._line.setLeft((this.getClientWidth()-this._line.getWidth())/2);}}};_p._layoutThumb=function()
{if(this._created)
{if(this._orientation=="horizontal")
{this._thumb.setLeft((this.getValue()-this.getMinimum())/(this.getMaximum()-this.getMinimum())*(this.getClientWidth()-this._thumb.getWidth()));this._thumb.setTop((this.getClientHeight()-this._thumb.getHeight())/2);}
else {this._thumb.setLeft((this.getClientWidth()-this._thumb.getWidth())/2);this._thumb.setTop((this.getClientHeight()-this._thumb.getHeight())*(1-(this.getValue()-this.getMinimum())/(this.getMaximum()-this.getMinimum())));}}};BiSlider.prototype.getUnitIncrement=function(){return this._unitIncrement;};BiSlider.prototype.setUnitIncrement=function(v){this._unitIncrement=v;};BiSlider.prototype.getBlockIncrement=function(){return this._blockIncrement;};BiSlider.prototype.setBlockIncrement=function(v){this._blockIncrement=v;};_p._onmousedown=function(e){this.addEventListener("mousemove",this._onmousemove);this.addEventListener("mouseup",this._onmouseup);this.addEventListener("losecapture",this._onmouseup);this.setCapture(true);if(this.getCanFocus())
this.setFocused(true);if(e.getTarget()==this._thumb){this._dragData={screenX:e.getScreenX(),screenY:e.getScreenY(),dx:e.getScreenX()-this._thumb.getLeft(),dy:e.getScreenY()-this._thumb.getTop(),startValue:this.getValue()};}
else{this._timer.start();}};_p._onmousemove=function(e){if(this._dragData){var size,pos,reset;if(this._orientation=="horizontal"){size=this.getClientWidth()-this._thumb.getWidth();pos=e.getScreenX()-this._dragData.dx;reset=Math.abs(e.getScreenY()-this._dragData.screenY)>100;}
else{size=this.getClientHeight()-this._thumb.getHeight();pos=size-(e.getScreenY()-this._dragData.dy);reset=Math.abs(e.getScreenX()-this._dragData.screenX)>100;}
this.setValue(reset?this._dragData.startValue:this.getMinimum()+(this.getMaximum()-this.getMinimum())*pos/size);}
else{}};_p._onmouseup=function(e){this.removeEventListener("mousemove",this._onmousemove);this.removeEventListener("mouseup",this._onmouseup);this.removeEventListener("losecapture",this._onmouseup);this.setCapture(false);if(this._dragData){this._dragData=null;}
else{this._timer.stop();this._tickIncrease=null;}};_p._onkeydown=function(e){switch(e.getKeyCode()){case BiKeyboardEvent.PAGE_UP:this.setValue(this.getValue()+this.getBlockIncrement());break;case BiKeyboardEvent.PAGE_DOWN:this.setValue(this.getValue()-this.getBlockIncrement());break;case BiKeyboardEvent.END:this.setValue(this.getOrientation()=="horizontal"?this.getMaximum():this.getMinimum());break;case BiKeyboardEvent.HOME:this.setValue(this.getOrientation()=="horizontal"?this.getMinimum():this.getMaximum());break;case BiKeyboardEvent.UP:case BiKeyboardEvent.RIGHT:this.setValue(this.getValue()+this.getUnitIncrement());break;case BiKeyboardEvent.LEFT:case BiKeyboardEvent.DOWN:this.setValue(this.getValue()-this.getUnitIncrement());break;}};_p._onmousewheel=function(e){this.setValue(this.getValue()+e.getWheelDelta()*this.getUnitIncrement());if(this.getContainsFocus())
{e.preventDefault();}};_p._ontick=function(e){if(this._orientation=="horizontal"){var mouseX=BiMouseEvent.getClientX()-this.getClientLeft();var l=this._thumb.getLeft();var w=this._thumb.getWidth();if(mouseX<l&&this._tickIncrease!=true){this.setValue(this.getValue()-this.getBlockIncrement());this._tickIncrease=false;}
else if(mouseX>l+w&&this._tickIncrease!=false){this.setValue(this.getValue()+this.getBlockIncrement());this._tickIncrease=true;}}
else{var mouseY=BiMouseEvent.getClientY()-this.getClientTop();var t=this._thumb.getTop();var h=this._thumb.getHeight();if(mouseY<t&&this._tickIncrease!=false){this.setValue(this.getValue()+this.getBlockIncrement());this._tickIncrease=true;}
else if(mouseY>t+h&&this._tickIncrease!=true){this.setValue(this.getValue()-this.getBlockIncrement());this._tickIncrease=false;}}};_p._onchange=function(e){this._layoutThumb();this.dispatchEvent(new BiEvent("change"));};_p.dispose=function(){BiComponent.prototype.dispose.call(this);this._line=null;this._thumb=null;};function BiSpinner(){if(_biInPrototype)return;BiComponent.call(this);this.setCssClassName("bi-spinner");this.setAppearance("combo-box");this.setSize(50,22);this._rangeModel=new BiRangeModel();var f=new BiFont(1);this._upButton=new BiButton;this._upButton.setCssClassName("bi-button bi-spinner-up-button");this._upButton.setTabIndex(-1);var arrowImg=new BiComponent;arrowImg.setAppearance("combo-box-arrow");this._upButton.add(arrowImg,null,true)
this.add(this._upButton,null,true);this._downButton=new BiButton;this._downButton.setCssClassName("bi-button bi-spinner-down-button");this._downButton.setTabIndex(-1);arrowImg=new BiComponent;arrowImg.setAppearance("combo-box-arrow");this._downButton.add(arrowImg,null,true)
this.add(this._downButton,null,true);this._textField=new BiTextField;this._textField.setMaxLength(3);this._textField.setText("0");this.add(this._textField,null,true);this._upButton.setWidth(16);this._upButton.setTop(0);this._downButton.setWidth(16);this._downButton.setBottom(0);this._textField.setTop(0);this._textField.setBottom(0);this._positionComponents();this._timer=new BiTimer
this._timer.setInterval(this._interval);this.setTabIndex(1);this.addEventListener("keypress",this._onkeypress,this);this.addEventListener("keydown",this._onkeydown,this);this.addEventListener("keyup",this._onkeyup,this);this._upButton.addEventListener("mousedown",this._onmousedown,this);this._downButton.addEventListener("mousedown",this._onmousedown,this);this._rangeModel.addEventListener("change",this._onchange,this);this._timer.addEventListener("tick",this._ontick,this);this.addEventListener("blur",this._onblur);}
_p=_biExtend(BiSpinner,BiComponent,"BiSpinner");_p._tickIncrease=null;_p._incrementAmount=1;_p._interval=100;_p._firstInterval=500;_p._preferredHeight=22;_p.setValue=function(nValue){this._rangeModel.setValue(nValue);};_p.getValue=function(){this._ensureValidValue();return this._rangeModel.getValue();};_p.setMaximum=function(nMaximum){this._rangeModel.setMaximum(nMaximum);};_p.getMaximum=function(){return this._rangeModel.getMaximum();};_p.setMinimum=function(nMinimum){this._rangeModel.setMinimum(nMinimum);};_p.getMinimum=function(){return this._rangeModel.getMinimum();};_p.layoutAllChildren=function(){BiComponent.prototype.layoutAllChildren.call(this);this._layoutSpinnerButtons();};_p._layoutSpinnerButtons=function(){var h=this.getClientHeight();this._upButton.setHeight(Math.ceil(h/2));this._downButton.setHeight(Math.floor(h/2));};_p.getPreferredWidth=function()
{if(this._preferredWidth!=null)
return this._preferredWidth;var pw=Math.max(this._textField.getPreferredWidth(),this._textField.getMaxLength()*9);var labelW=this._textField.getLeft()+pw-(this.getRightToLeft()?16:0);return labelW+5+16;};_p.getPreferredHeight=function()
{if(this._preferredHeight!=null)
return this._preferredHeight;return this._textField.getPreferredHeight()+5;};_p.setFont=function(oFont){this._textField.setFont(oFont);};_p.getFont=function(){return this._textField.getFont();};_p.setAlign=function(sAlign){this._textField.setAlign(sAlign);};_p.getAlign=function(){return this._textField.getAlign();};_p.setTabIndex=function(nTabIndex){BiComponent.prototype.setTabIndex.call(this,-1);this._textField.setTabIndex(nTabIndex);};_p.getTabIndex=function(){return this._textField.getTabIndex();};_p.setFocused=function(bFocused){if(this.getCanFocus())
this._textField.setFocused(bFocused);};_p.setEnabled=function(b){BiComponent.prototype.setEnabled.call(this,b);this._upButton.setEnabled(b);this._downButton.setEnabled(b);this._textField.setEnabled(b);};_p._selectOnTabFocus=function(){this._textField.selectAll();};_p.setRightToLeft=function(b){BiComponent.prototype.setRightToLeft.call(this,b);this._positionComponents();this._textField.setAlign(this.getRightToLeft()?"left":"right");};_p._positionComponents=function(){if(this.getRightToLeft()){this._upButton.setRight(null);this._upButton.setLeft(0);this._downButton.setRight(null);this._downButton.setLeft(0);this._textField.setRight(0);this._textField.setLeft(16);}
else{this._upButton.setLeft(null);this._upButton.setRight(0);this._downButton.setLeft(null);this._downButton.setRight(0);this._textField.setLeft(0);this._textField.setRight(16);}};_p._onkeypress=function(e){var kc=e.getKeyCode();if(kc==BiKeyboardEvent.ENTER&&!e.getAltKey()){this._ensureValidValue();this._textField.selectAll();this.dispatchEvent(new BiEvent("action"));if(this._command)
this._command.execute();}
else{var preventDefault=true;switch(kc){case BiKeyboardEvent.UP:case BiKeyboardEvent.DOWN:case BiKeyboardEvent.LEFT:case BiKeyboardEvent.RIGHT:case BiKeyboardEvent.SHIFT:case BiKeyboardEvent.CTRL:case BiKeyboardEvent.ALT:case BiKeyboardEvent.ESC:case BiKeyboardEvent.DELETE:case BiKeyboardEvent.BACKSPACE:case BiKeyboardEvent.INSERT:case BiKeyboardEvent.HOME:case BiKeyboardEvent.END:case BiKeyboardEvent.PAGE_UP:case BiKeyboardEvent.PAGE_DOWN:case BiKeyboardEvent.NUM_LOCK:case BiKeyboardEvent.TAB:preventDefault=false;}
if(kc>=48&&kc<=57)
preventDefault=false;if(preventDefault)
e.preventDefault();}};_p._onkeydown=function(e){var kc=e.getKeyCode();if(this._tickIncrease==null&&(kc==BiKeyboardEvent.UP||kc==BiKeyboardEvent.DOWN)){this._tickIncrease=kc==BiKeyboardEvent.UP;this._resetIncrements();this._ensureValidValue();this._increment();this._timer.setInterval(this._firstInterval);this._timer.start();}};_p._onkeyup=function(e){var kc=e.getKeyCode();if(this._tickIncrease!=null&&(kc==BiKeyboardEvent.UP||kc==BiKeyboardEvent.DOWN)){this._timer.stop();this._tickIncrease=null;}};_p._onmousedown=function(e){if(e.getButton()!=BiMouseEvent.LEFT)
return;this._ensureValidValue();var b=e.getCurrentTarget();b.addEventListener("mouseup",this._onmouseup,this);b.addEventListener("mouseout",this._onmouseup,this);this._tickIncrease=b==this._upButton;this._resetIncrements();this._increment();this._textField.selectAll();this._timer.setInterval(this._firstInterval);this._timer.start();};_p._onmouseup=function(e){var b=e.getCurrentTarget();b.removeEventListener("mouseup",this._onmouseup,this);b.removeEventListener("mouseout",this._onmouseup,this);this._textField.selectAll();this._textField.setFocused(true);this._timer.stop();this._tickIncrease=null;};_p._onchange=function(e){this._textField.setMaxLength(Math.ceil(Math.log(this.getMaximum()+1)/Math.LN10));this._textField.setText(String(this._rangeModel.getValue()));this.dispatchEvent(new BiEvent("change"));};_p._onblur=function(e){this._ensureValidValue();};_p._ontick=function(e){this._timer.stop();this._interval=Math.max(20,this._interval-2);if(this._interval==20)
this._incrementAmount=1.01*this._incrementAmount;this._increment();this._timer.setInterval(this._interval);this._timer.start();};_p._ontextfieldfocuschanged=function(e){this.dispatchEvent(new BiEvent(e.getType()));};_p._ensureValidValue=function(){var v=parseInt(this._textField.getText());if(!isNaN(v)){this._rangeModel.setValue(v);}
v=this._rangeModel.getValue();if(String(v)!=this._textField.getText())
this._textField.setText(String(v));};_p._increment=function(){this._rangeModel.setValue(this._rangeModel.getValue()+(this._tickIncrease?1:-1)*this._incrementAmount);};_p._resetIncrements=function(){this._incrementAmount=BiSpinner.prototype._incrementAmount;this._interval=BiSpinner.prototype._interval;};function BiScrollBar(sOrientation){if(_biInPrototype)return;BiComponent.call(this);this.setCssClassName("bi-scroll-bar");this.setAppearance("scroll-bar-horizontal");this._unitDecButton=new BiRepeatButton();this._unitDecButton._tagName="DIV";this._unitDecButton.setHideFocus(true);this._unitDecButton.addEventListener("action",this._onUnitDec,this);this._unitDecButton.setCssClassName("bi-scroll-bar-button");this._unitDecButton.setAppearance("scroll-bar-dec-button");this.add(this._unitDecButton);this._unitIncButton=new BiRepeatButton();this._unitIncButton._tagName="DIV";this._unitIncButton.setHideFocus(true);this._unitIncButton.addEventListener("action",this._onUnitInc,this);this._unitIncButton.setCssClassName("bi-scroll-bar-button");this._unitIncButton.setAppearance("scroll-bar-inc-button");this.add(this._unitIncButton);this._blockDecButton=new BiRepeatButton();this._blockDecButton._tagName="DIV";this._blockDecButton.setHideFocus(true);this._blockDecButton.addEventListener("action",this._onBlockDec,this);this._blockDecButton.setCssClassName("bi-scroll-bar-block-button");this._blockDecButton.setAppearance("scroll-bar-block-button");this.add(this._blockDecButton);this._blockIncButton=new BiRepeatButton();this._blockIncButton._tagName="DIV";this._blockIncButton.setHideFocus(true);this._blockIncButton.addEventListener("action",this._onBlockInc,this);this._blockIncButton.setCssClassName("bi-scroll-bar-block-button");this._blockIncButton.setAppearance("scroll-bar-block-button");this.add(this._blockIncButton);this._thumb=new BiMoveHandle();this._thumb.addEventListener("beforemove",this._onBeforeMove,this);this._thumb.addEventListener("moveend",this._onMoveEnd,this);this._thumb.setMoveDirection("horizontal");this._thumb.setCssClassName("bi-scroll-bar-thumb");this._thumb.setAppearance("scroll-bar-thumb");this._thumb.setCursor("default");this.add(this._thumb);this._range=new BiRangeModel();this._range.addEventListener("change",this._onChange,this);this._orientation=null;this.setOrientation(sOrientation||"horizontal");}
_p=_biExtend(BiScrollBar,BiComponent,"BiScrollBar");_p.getExtent=function(){return this._range.getExtent();}
_p.setExtent=function(nExtent){this._range.setExtent(nExtent);}
_p.getMaximum=function(){return this._range.getMaximum();}
_p.setMaximum=function(nMaximum){this._range.setMaximum(nMaximum);}
_p.getMinimum=function(){return this._range.getMinimum();}
_p.setMinimum=function(nMinimum){this._range.setMinimum(nMinimum);}
_p.getValue=function(){return this._range.getValue();}
_p.setValue=function(nValue){this._range.setValue(nValue);}
_p._minThumbSize=8;BiScrollBar.prototype.getMinThumbSize=function(){return this._minThumbSize;};BiScrollBar.prototype.setMinThumbSize=function(v){this._minThumbSize=v;};_p._unitIncrement=1;BiScrollBar.prototype.getUnitIncrement=function(){return this._unitIncrement;};BiScrollBar.prototype.setUnitIncrement=function(v){this._unitIncrement=v;};_p._blockIncrement=null;BiScrollBar.prototype.setBlockIncrement=function(v){this._blockIncrement=v;};_p.getBlockIncrement=function(){if(this._blockIncrement==null){var extent=this.getExtent();if(extent!=null&&extent>0){return extent;}
else{return 10;}}
else{return this._blockIncrement;}}
_p._preferredSize=16;_p.getPreferredWidth=function(){if(this._preferredWidth!=null){return this._preferredWidth;}
else{return(this._orientation=="horizontal")?200:this._preferredSize;}}
_p.getPreferredHeight=function(){if(this._preferredHeight!=null){return this._preferredHeight;}
else{return(this._orientation=="horizontal")?this._preferredSize:200;}}
BiScrollBar.prototype.getOrientation=function(){return this._orientation;};_p.setOrientation=function(sOrientation){if(this._orientation!=sOrientation){this._orientation=sOrientation;this.setAppearance("scroll-bar-"+sOrientation);this.pack();this._thumb.setMoveDirection(sOrientation);this.layoutAllChildren();}}
_p.setEnabled=function(bEnabled){if(bEnabled!=this._enabled)
{BiComponent.prototype.setEnabled.call(this,bEnabled);this._unitDecButton.setEnabled(bEnabled);this._unitIncButton.setEnabled(bEnabled);this._blockDecButton.setEnabled(bEnabled);this._blockIncButton.setEnabled(bEnabled);this._thumb.setEnabled(bEnabled);}}
_p.layoutAllChildren=function(){this._layoutButtons();this._layoutScroll();BiComponent.prototype.layoutAllChildren.call(this);}
_p._layoutButtons=function(){if(!this.getCreated()){return;}
var x1,y1,w1,h1,x2,y2,w2,h2=0;var width=this.getClientWidth();var height=this.getClientHeight();if(this._orientation=="horizontal"){if(width<2*this._preferredSize){w1=w2=width/2;}
else{w1=w2=this._preferredSize;}
x2=width-w2;h1=h2=height;}
else{if(height<2*this._preferredSize){h1=h2=height/2;}
else{h1=h2=this._preferredSize;}
y2=height-h2;w1=w2=width;}
this._layoutChild2(this._unitDecButton,x1,y1,w1,h1,true);this._layoutChild2(this._unitIncButton,x2,y2,w2,h2,true);};_p._layoutScroll=function(){if(!this.getCreated()){return;}
var min=this.getMinimum();var max=this.getMaximum();var extent=this.getExtent();var value=this.getValue();var width=this.getClientWidth();var height=this.getClientHeight();var start,contentSize;if(this._orientation=="horizontal"){start=this._preferredSize;contentSize=width-start-this._preferredSize;}
else{start=this._preferredSize;contentSize=height-start-this._preferredSize;}
var size=0;if(max>min){size=Math.ceil(extent*contentSize/(max-min));}
if(size<this._minThumbSize){size=this._minThumbSize;}
if(contentSize<size){size=0;this._thumb.setVisible(false);}
else if(extent>=max-min){this._thumb.setVisible(false);}
else{this._thumb.setVisible(true);}
var before=value-min;var after=max-extent-value;var beforeSize=(contentSize-size)*before/(before+after);if(beforeSize<0){beforeSize=0;}
var afterSize=contentSize-size-beforeSize;if(afterSize<0){afterSize=0;beforeSize=contentSize-size;}
if(this._orientation=="horizontal"){this._layoutChild2(this._thumb,beforeSize+start,0,size,height,true);if(size>0){this._layoutChild2(this._blockDecButton,start,0,beforeSize,height,true);this._layoutChild2(this._blockIncButton,beforeSize+start+size,0,afterSize,height,true);this._blockDecButton.setVisible(true);this._blockIncButton.setVisible(true);}
else{this._blockDecButton.setVisible(false);this._blockIncButton.setVisible(false);}}
else{this._layoutChild2(this._thumb,0,beforeSize+start,width,size,true);if(size>0){this._layoutChild2(this._blockDecButton,0,start,width,beforeSize,true);this._layoutChild2(this._blockIncButton,0,beforeSize+start+size,width,afterSize,true);this._blockDecButton.setVisible(true);this._blockIncButton.setVisible(true);}
else{this._blockDecButton.setVisible(false);this._blockIncButton.setVisible(false);}}};_p._onChange=function(e){if(this.getExtent()>=this.getMaximum()-this.getMinimum()){this.setEnabled(false);}
else{this.setEnabled(true);}
this._layoutScroll();this.dispatchEvent(new BiEvent("change"));}
_p._onBeforeMove=function(e){var min=this.getMinimum();var max=this.getMaximum();var extent=this.getExtent();var position,start,end,contentSize,thumbSize;if(this._orientation=="horizontal"){position=e.getLeft();start=this._preferredSize;contentSize=this.getClientWidth()-start-this._preferredSize;end=start+contentSize;thumbSize=this._thumb.getWidth();}
else{position=e.getTop();start=this._preferredSize;contentSize=this.getClientHeight()-start-this._preferredSize;end=start+contentSize;thumbSize=this._thumb.getHeight();}
var beforeSize=position-start;if(beforeSize<0){beforeSize=0;}
var afterSize=contentSize-beforeSize-thumbSize;var value=(max-extent-min)*beforeSize/(beforeSize+afterSize);if(value<=min){this.setValue(min);e.preventDefault();}
else if(value>=max-extent){this.setValue(max-extent);e.preventDefault();}
else{this.setValue(value);}}
_p._onMoveEnd=function(e){this.dispatchEvent(new BiEvent("scrollend"));}
_p._onUnitDec=function(e){this.setValue(this.getValu

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -