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
5
votes
4 answers

How do I keep formatting when copying from gedit into open office?

I am editing octave files in gedit, and it does a nice job highlighting them. However, when I try to copy and paste the code into Open Office, it loses all formatting. Even when I try paste > special, it still doesn't work. Is there any way to do…
Adam
  • 61
  • 2
  • 3
5
votes
3 answers

Why does pasting a line break the code if writing out the same line by hand works fine?

Here are two versions of a line in a php file: First version: if ($projet['sourceDonnees'] === (string)$CONSTANTS['sourceDonnees_saisie']) { Second version: if ($projet['sourceDonnees'] === (string)$CONSTANTS['sourceDonnees_saisie']) { Although…
Shawn
  • 10,931
  • 18
  • 81
  • 126
5
votes
3 answers

gedit in LXDE: black bar

I'm using Ubuntu 12.04 with LXDE desktop environment. When I use the normal Ubuntu desktop, everything is normal. When I'm using LXDE however, the bar with all opened files is black. You can see what I mean here:
4
votes
0 answers

How to get all the hplugins for Gedit on Mac OSX 10.6.8

I've recently installed gedit on my macbook (os 10.6.8) , and I have managed to install a lot of really cool plugins that enhance it greatly. However when I look at the available list of plugins on the gedit site a lot of the plugins listed are not…
4
votes
0 answers

What are drop targets in gedit's snippets?

There is a plugin for gedit to handle snippets. In the Snippets Manager under "Activation" for every snippet you can set the drop targets. There are some preformatted alternatives to choose between but you seem to able to compose your own…
N.N.
  • 8,336
  • 12
  • 54
  • 94
4
votes
2 answers

Need help in finding an HTML, CSS, PHP code formatter for gedit

I need help in finding an HTML, CSS, PHP code formatter plug-in for gedit. I've looked into gmate and other plug-ins but I could only find code formatter for Ruby/Rails files.
tsega
  • 856
  • 2
  • 15
  • 31
4
votes
5 answers

gedit automatic session saving or default session?

I'm used to eclipse's and notepad++'s behavior of automatically opening the files and tabs present on last exit. Does anyone know if there is a way to enable this in Gedit? The session management plugin that I'm using seems to require explicit menu…
user508546
  • 421
  • 5
  • 12
4
votes
2 answers

Grails gdoc editor support (esp IntelliJ)

Since Grails 1.2 there's a documentation engine included: gdoc. The documentation's syntax is based on the Textile format. Is there some editor support for this? My first choice would be a plugin for IntelliJ, second option on for vim or gedit. Any…
Stefan Armbruster
  • 39,465
  • 6
  • 87
  • 97
4
votes
2 answers

git: editing a file cause ^M to appear when using git diff

I have a couple of source files inside a local git repo. The files have been pulled from a remote git repo. When I do a "$git status" I see the following: $git status # On branch master nothing to commit, working directory clean However, when I…
MaACAn
  • 313
  • 3
  • 9
4
votes
2 answers

save on gedit remotely

On a machine I don't have physically access to, I left gedit open with a text file I forgot to save. I can ssh to that machine. The OS running there is Ubuntu. Is there any way I can save that file remotely?
Ricky Robinson
  • 21,798
  • 42
  • 129
  • 185
4
votes
3 answers

How do I browse the source code for a gem in Rails3 with RVM (linux & gedit)

I am running rails3 in Ubuntu and using gedit for coding. I am using RVM. To look at the gem source code I tried: bundle open jquery-rails That doesn't work since I hadn't setup an editor. After setting gedit as the editor it still doesn't work…
snowguy
  • 899
  • 2
  • 13
  • 23
3
votes
2 answers

Integrating gedit or kate in a Qt Application

I am trying to develop an a simple IDE for programming languages using Qt for my project.This IDE should contain a text editor and should have pretty printing feature in it.So developing a text editor with qt is out of question. So my question is:…
Tanmay J Shetty
  • 197
  • 2
  • 3
  • 9
3
votes
3 answers

Auto closing tags in gedit -- can a man dream?

Top of the morning to y'all. I recently switched to Debian and I'm finding gedit 3 to be a worthy replacement for notepad++. I have one complaint though: I can't find a plugin which will close tags for me. Example: When I type the following

As…

F. P.
  • 5,018
  • 10
  • 55
  • 80
3
votes
1 answer

How to get the length of the current line (or the offset of the end of the line) in a Gedit plugin

In a Gedit plugin written in Python, I can get the offset of the beginning of the current line with document = window.get_active_document() offset = document.get_iter_at_mark(document.get_insert()) How could I get the offset of the end of this…
brandizzi
  • 26,083
  • 8
  • 103
  • 158
3
votes
1 answer

gedit 3 regex search replace plugin port

So i have been trying to install gEdit Regular Expression Plugin in gEdit 3.2.1 but there seem to be some issues. I have modified the .plugin file and now it shows up in the list of plugins. But when i try to select the plugin from the list, gEdit…
Etienne Lawlor
  • 6,817
  • 18
  • 77
  • 89