ArticleslgStudy

computer science

JEdit

JEdit is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand JEdit rather than just read about it. In short: jEdit is a free and open-source text editor available under GPL-2.0-or-later. It is written in Java and runs on any operating system with Java support, including BSD, Linux, macOS and Windows.

JEdit — main illustration
JEdit — illustration

Key takeaways

  • JEdit belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect JEdit to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of JEdit from memory before moving on to harder problems.

Reference excerpt

jEdit is a free and open-source text editor available under GPL-2.0-or-later. It is written in Java and runs on any operating system with Java support, including BSD, Linux, macOS and Windows.

History The development of jEdit was started by Slava Pestov in 1998, who left the project in 2006, handing development to the free software community.

Features jEdit includes syntax highlighting that provides native support for over 200 file formats. Support for additional formats can be added manually using XML files. It supports UTF-8 and many other encodings. It has extensive code folding and text folding capabilities as well as text wrapping that takes indents into account. The application is highly customizable and can be extended with macros written in BeanShell, Jython, ECMAScript and some other scripting languages.

Plug-ins There are over 150 available jEdit plug-ins for many different application areas. Plug-ins are used to customize the application for individual use and can make it into an advanced XML/HTML editor, or an integrated development environment (IDE), with compiler, code completion, context-sensitive help, debugging, visual differentiation and language-specific tools. The plug-ins are downloaded via an integrated plug-in manager which finds and installs them along with any dependencies. The plugin manager will track new versions and can download associated updates automatically. Some available plug-ins include:

Spell checker using Aspell Syntax and style checkers for various languages Text auto-complete Accents plugin that converts character abbreviations for accented characters as they are typed. XML plugin that is used for editing XML, HTML, ECMAScript and CSS files. In the case of XML, the plug-in does validation. For XML, HTML and CSS, it uses auto-completion popups for elements, attributes and entities.

Reception In general, jEdit has received positive reviews from developers. Rob Griffiths wrote in April 2002 for MAC OS X HINTS saying he was "very impressed" and naming it "pick of the week". He cited its file memory upon reopening, its ability to notice if an open file was changed on disk by another program, syntax coloring, including that users can create their own color schemes, split windows feature, show line number feature, convertible tabs to soft-tabs and view sidebars. He also praised its customization possibilities using the extensive preferences panel and the "on the fly" search engine, which searches while typing. Griffiths noted that the application has a few drawbacks, such as that it is "a bit slow at scrolling a line at a time" and that because it is a Java application it doesn't have the full Aqua interface.

Also reviewing the application in April 2002, Daniel Steinberg writing for O'Reilly Media said: The strength of jEdit for Java developers comes from the plug-ins contributed by the community...For the most part, there's nothing here that couldn't be done with BBEdit or even with Emacs or vi. jEdit packages the capabilities much more nicely and makes it easy to call often-used functionality using the plug-ins. Where I saw NetBeans as overkill, others may see jEdit as underkill for an IDE or overkill for a text editor. I find it Mac friendly and easy to use. I don't expect too much from it, so I tend to be pleased with what I get. Scott Beatty reviewing jEdit on SitePoint in 2005 particularly noted the application's folding feature along with its search and replace and PHP syntax highlighting capabilities. He recommended the use of the PHPParser plug-in. PHPParser is a sidebar that checks for PHP syntax errors whenever a PHP code file is loaded or saved. He noted that downloading jEdit is simple, but that getting and installing the plug-ins to customize it for individual use can be a complex process: "Beware that a full setup requires a series of downloads, and that this process can take time." Writing in December 2011, reviewer Rares Aioanei praised jEdit's versatility, stating "jEdit's design allows you to use it as a simple editor, but also use it as an IDE and expand its functionality via plugins so that it becomes exactly what you want it to be for the task or language at hand." but also adding that "jEdit is not, however, an IDE with everything but the Christmas tree, like Eclipse or Microsoft Visual Studio. Rather, it's a compact application for editing code, providing practical tools along with basic IDE features."

See also

List of text editors Comparison of text editors

References

External links Official website

Illustrations

JEdit illustration
JEdit illustration

Worked examples

Example 1 — a first encounter with JEdit

Start with the simplest possible case. Write down what JEdit claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to JEdit before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about JEdit ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of JEdit

In research
JEdit appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses JEdit in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
JEdit is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1998 software, Free HTML editors, Free software programmed in Java, so understanding it makes those chapters shorter.
In everyday life
Look for JEdit outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “JEdit” →

How to study JEdit in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what JEdit means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain JEdit out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is JEdit in simple terms?

jEdit is a free and open-source text editor available under GPL-2.0-or-later. It is written in Java and runs on any operating system with Java support, including BSD, Linux, macOS and Windows.

Why does JEdit matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study JEdit?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on JEdit.

Tags

  • 1998 software
  • Free HTML editors
  • Free software programmed in Java
  • Free text editors
  • Linux text editors
  • MacOS text editors
  • Software using the GNU General Public License
  • Windows text editors

Keep exploring