products/Sources/formale Sprachen/Isabelle/Tools/jEdit/dist/macros/Misc image not shown  

Quellcode-Bibliothek

© Kompilation durch diese Firma

[Weder Korrektheit noch Funktionsfähigkeit der Software werden zugesichert.]

Datei: tld-versions.jsp   Sprache: XML

Untersuchungsergebnis.bsh Download desAda {Ada[279] Abap[422] [0]}zum Wurzelverzeichnis wechseln

/*
 * Debug_BufferSets.bsh - a BeanShell macro script to debug bufferSets
 *
 * Copyright (C) 2008, 2010 Matthieu Casanova
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with the jEdit program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */


org.gjt.sp.jedit.bufferset.BufferSetManager bufferSetManager = jEdit.getBufferSetManager();

 // Localisation
final static String BuffersetDebuggingLabel = jEdit.getProperty("macro.rs.DebugBuffersets.BuffersetDebugging.label""BUFFERSET DEBUGGING");
final static String BufferCountLabel = jEdit.getProperty("macro.rs.DebugBuffersets.BufferCount.label""BufferCount=");
final static String BuffersetListLabel = jEdit.getProperty("macro.rs.DebugBuffersets.BufferList.label""BUFFER LIST");
final static String EndBufferListLabel = jEdit.getProperty("macro.rs.DebugBuffersets.EndBufferList.label""END BUFFER LIST");
final static String EditpaneListLabel = jEdit.getProperty("macro.rs.DebugBuffersets.EditpaneList.label""EDITPANE LIST");
final static String EndEditpaneListLabel = jEdit.getProperty("macro.rs.DebugBuffersets.EndEditpaneList.label""END EDITPANE LIST");

// Process
Log.log(Log.DEBUG, this, "------"+BuffersetDebuggingLabel+"------");
Log.log(Log.DEBUG, this, "------"+BufferCountLabel+jEdit.getBufferCount()+"------");
Log.log(Log.DEBUG, this, "------"+BuffersetListLabel+"------");
Buffer[] buffers = jEdit.getBuffers();
for (Buffer buffer:buffers)
{
 Log.log(Log.DEBUG, this, buffer);
}

Log.log(Log.DEBUG, this, "------"+EndBufferListLabel+"------");
Log.log(Log.DEBUG, this, "------"+EditpaneListLabel+"------");
jEdit.visit(new org.gjt.sp.jedit.visitors.JEditVisitorAdapter()
   {
   public void visit(EditPane editPane)
   {
    Log.log(Log.DEBUG, this, editPane + " " + editPane.getBufferSet());
   }
   });

Log.log(Log.DEBUG, this, "------"+EndEditpaneListLabel+"------");


[ zur Elbe Produktseite wechseln0.152Quellennavigators  ]