Questions tagged [gedit]

gedit is a general purpose and powerful text editor for the GNOME desktop environment, Mac OS X, and Microsoft Windows.

gedit is an UTF-8 compatible editing tool that emphasizes flexibility and ease of use. gedit is open-source software and is licensed under the terms of the GNU General Public License.

Customized gedit with the GMate plug-in package enabled running in Ubuntu 10.10

Features

  • Full support for UTF-8 (internationalized text).
  • Syntax highlighting for most popular languages (C/C++, Java, HTML, Python, Perl, and others).
  • Flexible plug-in system.
  • Tabs and multi-window editing capability.
  • Line numbering, bracket matching, text wrapping, current line highlighting, automatic indentation and automatic file backup.
  • Multi-language spell checking.

Available Plug-ins

gedit comes with a few prepackaged plug-ins. Additional plug-ins are distributed online and can be found on GNOME's gedit page. GMate, a package that enables Textmate-like features is also available through the Github repository for GMate.

Resources

Official gedit website

gedit for Windows

409 questions
3
votes
1 answer

How to add keyboard shortcuts / accelerator keys for a menu item created by a Gedit plugin

I created a Gedit 2 plugin which adds an item to a menu as described here. How could I bind a keyboard shortcut / accel key / accelerator key to this menu item?
brandizzi
  • 26,083
  • 8
  • 103
  • 158
3
votes
3 answers

gedit 3 regex plugin

Has anyone gotten a regex plugin to work in gedit 3 (Fedora 15)? I have tried 2 plugins so far: http://halfhourhacks.blogspot.com/2008/03/gedit-regular-expression-plugin.html http://code.google.com/p/yare-gedit-plugin/ For both, I tried installing…
nhavens
  • 252
  • 1
  • 3
  • 11
3
votes
2 answers

Python - Debug running application

I'm trying to fix bugs from gedit plugins. Gedit uses C but some of its plugins are in Python. My computer is old and I cannot run an IDE. I've read about PDB (Python Debugger), but i cannot call the plugin directly with PDB. Is it possible set…
thom
  • 33
  • 3
3
votes
3 answers

pylons/pyramid code completion with gedit and virtualenv

I am working through the pyramid documentation and would really like code completion. I installed gedit-plugin-codecompletion I am using virtualenv, once created I use the 'activate' file in the bin/ folder to switch over my terminal window. When I…
storrgie
  • 379
  • 2
  • 3
3
votes
4 answers

gedit vs kate for Ruby/RoR

I've been working with gedit because it is the standard offering with Linux (I'm a Kubuntu user), but several people have mentioned Kate. For a text editor, for the most part I want a clone of textmate. Is there any merit to the claim that Kate is a…
Sophie
  • 63
  • 2
  • 8
3
votes
1 answer

Document and control FIXME and TODO hightlighting of Perl comments by gedit?

When editing a Perl file, gedit 2.30.3 highlights FIXME, TODO and XXX when they appear in a comment. Where is this documented? How can this be modified?
CW Holeman II
  • 4,661
  • 7
  • 41
  • 72
3
votes
1 answer

syntax highlighting gtksourceview, use another xml file?

We can add our language definition in gedit in a XML fileformat, in the /usr/share/gtksourceview-3.0/language-specs/ folder, But can we in our XML refere to an other XML file? In my language definition i want to add some script (C , Python ,…
Nazime Lakehal
  • 1,542
  • 1
  • 11
  • 15
3
votes
1 answer

regex replace just a part in gedit

I have some text containing . A.... The regex is [.][\s][\s][!A-Z] This finds the containing string. The problem is, that I don't know how to replace all of it with \n except the [A-Z]
user3776738
  • 214
  • 2
  • 10
  • 27
3
votes
2 answers

Why does every text editor write an additional byte (UTF-8)?

I'm working on Ubuntu 16.04 (Xenial Xerus). I found out that text editors write additional bytes (UTF-8) to the text file. It made some problems for me, when I tried to pass tests. So we have a string, "Extra byte", with the size = 10 bytes in…
Sklert
  • 242
  • 5
  • 12
3
votes
2 answers

How do I style user-defined function names in gedit?

I'm trying to tweak a gedit style so that user-defined functions have a different colour. I've searched through http://library.gnome.org/devel/gtksourceview-2.0/stable/lang-reference.html but I couldn't find anything. I thought
Danny King
  • 1,941
  • 6
  • 24
  • 37
3
votes
2 answers

Is it possible to use the Android SDK without using eclipse?

I'd like to develop for Android but I don't really like using an IDE for programming as I find them to be pretty cumbersome compared to a text editor and command console. Is there any way I can develop for Android without doing so in Eclipse, and…
user360907
3
votes
3 answers

gedit plugin development in C

I'm Interested in writing gedit-plugins in C. I've checked Gedit/NewMDIPluginHowTo ...but haven't had any luck with it. How can I get more information about writing gedit plugins in C?
Aboelnour
  • 1,423
  • 3
  • 17
  • 39
3
votes
1 answer

Adding external plug ins to gedit in Windows

I am using gedit 3.20.1 with Windows 7. I'm unable to add external plugins to gedit. Specifically, I'm trying to add gedit-latex-3.2.1 plugin, but so far all plug ins I've used have not worked. I add the appropriate files to "C:\Program…
3
votes
3 answers

show multiple R graphics windows in (r)gedit

I'm using rgedit plugin for gedit. I would like to allow more than one graphic (plot) window to show at a time. Currently, whenever I plot(), the plot overwrites the previous plot window.
David B
  • 29,258
  • 50
  • 133
  • 186
3
votes
3 answers

How to start/stop application on linux from php file?

I'd like to access for editing any txt file (on gedit editor) from PHP. I'm trying to use something like: But it doesn't even give any outputs: $output=shell_exec("gedit…
dryhay
  • 79
  • 10