21st Century Collection of Life Works.

jEdit Plugins

Eclipse is a powerful framework for programming and developing tools. It's plugin programming is rather involved and occasionally distracted me from what I wanted to accomplish with the tool itself. jEdit is a matured editor which is simpler than eclipse both in layouts and programming. It has a macro feature which allows interactive programming to enhance the editor itself. I find the feature uniquely useful for text editing. This notes helps me to keep track of what gathered as I learn to use jEdit

Predefined Variables in BeanShell: http://www.jedit.org/users-guide/predefined-variables.html

buffer - a Buffer object represents the contents of the currently visible open text file. editPane - an EditPane object contains a text area and buffer switcher. This variable has the same value as the return value of: view.getEditPane(). textArea - a JEditTextArea is the visible component that displays the current buffer. wm - a DockableWindowManager is the visible component that manages dockable windows in the current view. This class is discussed in detail in Part IV, “Writing Plugins”.

Helpful Methods in the Macros Class: http://www.jedit.org/users-guide/helpful-methods.html

   1 public static void message( Component comp,
   2     String message);
   3 public static void error(   Component comp,
   4     String message);
   5 public static String input( Component comp,
   6     String prompt);
   7 public static String input( Component comp,
   8     String prompt,
   9     String defaultValue);
  10 public static int confirm(  Component comp,
  11     String prompt,
  12     int buttons);

BeanShell Dynamic Typing - http://www.jedit.org/users-guide/dynamic-typing.html Without an explicit type declaration like String result, BeanShell variables can change their type at runtime depending on the object or data assigned to it.

Now For Something Useful - http://www.jedit.org/users-guide/something-useful.html

   1 // macro that inserts the path of the current buffer in the text:
   2 String newText = buffer.getPath();
   3 textArea.setSelectedText(newText);
   5 // the file name (without full path)
   6 String newText = buffer.getName();
   8 // today's date
   9 import java.text.DateFormat;
  11 String newText = DateFormat.getDateInstance().format(new Date());
  13 // a line count for the current buffer
  14 String newText = "This file contains " + textArea.getLineCount() + " lines.";

A Dialog-Based Macro - http://www.jedit.org/users-guide/dialog-macro.html This site points to the following topics:

Use of the Macro
Listing of the Macro
Analysis of the Macro
   Import Statements
   Create the Dialog
   Create the Text Fields
   Create the Buttons
   Register the Action Listeners
   Make the Dialog Visible
   The Action Listener
   Get the User's Input
   Call jEdit Methods to Manipulate Text
   The Main Routine

Insights of the past for the present

Computer Notes

CSS Color Names

CakePhp and SQLite

SQL Injection Scanner

Squish by Froglogic

Android Notes

Tools on Windows OS

Text to Speech Software

jEdit Plugins

Split File by jEdit Macro

Dark Eclipse theme

Eclipse Plugin Basics

FTP with Eclipse

Markdown with Eclipse


Knowledge of the Holy - A.W. Tozer

The Pursuit of God - A.W. Tozer

The Dwelling Place - A.W. Tozer

Plumber of Lisburn - A.W. Tozer

Spiritual Power Vows - A.W. Tozer

Root of the Righteous - A.W. Tozer

Essays - A.W. Tozer

Fourfold Gospel - A.B. Simpson

Gospel of Healing - A.B. Simpson

Life of A.B. Simpson - C&MA

Mark Gospel 1/4 - A MacLaren

Mark Gospel 2/4 - A MacLaren

Mark Gospel 3/4 - A MacLaren

Mark Gospel 4/4 - A MacLaren

Gospel of St. John - F.D. Maurice

To the Romans - R.V. Foster

To the Romans, vol I - C. Gore

To the Corinthians - J.S. Riggs

To the Philippians - R. Rainy

To the Galatians - Luther

To the Hebrews - H.C.G. Moule

To the Hebrews - T.C. Edwards

Wisdom of James - A.T. Robertson

Epistles of John 1/2 - W. Alexander

Epistles of John 2/2 - W. Alexander

Kingdom of Heaven - E. Burbidge

Deuteronomy - C.H. Mackintosh

Religion and Theology - J. Tulloch

The Being of God - St Anselm

The Existence of God - St Anselm

God Became Man - St Anselm

The Other Wise Man - H. Van Dyke

First Christmas Tree - H. Van Dyke

A Christmas Carol - C Dickens

Thoughts on the Universe

Computer Notes

About the Website

Color Theme:   Night     Day  

May your insights be worthy.