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

📄 push.java

📁 emacs的一个非常有用的插件,叫xrefactory,可以实现source insight里的那种函数跳转.和cscope(跳回来不方便)配合使用,非常的不错.
💻 JAVA
字号:
package com.xrefactory.jedit;import java.awt.*;import javax.swing.*;import java.io.*;import org.gjt.sp.jedit.io.*;public class Push implements Runnable {	String[] 		options;	DispatchData	data;	XrefCharBuffer receipt;	public void run() {		if (Opt.updateBeforePush()) {			boolean panic = s.synchronizedUpdateTagFile(data.callerComponent);			if (panic) return;		}		receipt = data.xTask.callProcessOnFile(options, data);		s.beforePushBrowserFiltersUpdates();		Dispatch.dispatch(receipt, data);		if (! data.panic) {			BrowserTopPanel bp;			DockableBrowser b = s.getParentBrowserPanel(data.callerComponent);			if (b!=null) {				b.browser.updateData();			} else {				bp = s.getBrowser(s.getParentView(data.callerComponent));				if (bp!=null) bp.needToUpdate();			}		}	}	public Push(String[] options, DispatchData data) {		this.options = options;		this.data = data;		//&Thread t = new Thread(this);		this.run(); //t.start();	}}

⌨️ 快捷键说明

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