gedit

Add programming language to gedit external tools?

The gedit external tools plugin allows tools to apply to only one or more of a predefined list of file types. How do I define my own file types? ...

How does Gedit expose its api to python for plugins?

I'm starting a medium (academic) project in C++ for which I need users to be able to write small scripts, which interact directly with the main program. My first thought as an aproach to this was to make something like Gedit does with it's plugins (in fact I thought about it because it is something very similar to what I need to do.) I ...

Is there an ftp plugin for gedit that will let me work locally?

I'm trying to switch from a windows environment to Linux. I'm primarily PHP developer, but I do know quite a bit about other languages such as CSS, XHTML and Javascript. I need a way of editing my files locally because I work in a git repository and need to commit my saves. On windows I used Aptana and PDT. I'd save my files, upload via ...

Gedit folding plugin

Hi! I am looking folding plugin for gedit. Try this http://clck.ru/zPL, but he did not satisfy me. Maybe that tells something. ...

Setting the cursor position in PyGTK (for a Gedit plugin)

I'm developing a Gedit plugin which is built on PyGTK. I'm trying to figure out how to programatically tell the cursor where to go. For example, I'd like to have the cursor automatically go to right before the first "|" (pipe) in the current line. Any ideas or starting points? I've been using the Gedit API up until now (right here) whic...

Room for improvement on my Python code?

I'm working on a Gedit plugin using Python (and PyGTK) and I really havent' worked with Python much so I have no idea if I'm writing Pythonic code. All of my own code is contained in __init__.py. There are a few other files, but they're from an outside library that I'm hooking into. My __init__.py is as follows: # # @file __init__.py #...

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 this without having to manually go through all my code highlighting keywords? ...

Syntax Highlighter for a Domain Specific Language

Hello Friends I have a DSL for which I intend to create a syntax highlighter for editors like vim, gedit and netbeans. Has anyone tried this before? Many thanks for any directions. Ketan ...

gedit underscore as a word_character

Is it possible to configure gedit to treat the underscore character as a word character? Currently, it appears that the editor treats "two_words" as two separate words when selecting, instead of a single word as in many other mainstream text editors. ...

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 hints welcome. I am totally a aware that the format is very simple by itself but having ...

GEdit/Python execution plugin?

Hi I'm just starting out learning python with GEdit plus various plugins as my IDE. Visual Studio/F# has a feature which permits the highlighting on a piece of text in the code window which then, on a keypress, gets executed in the F# console. Is there a similar facility/plugin which would enable this sort of behaviour for GEdit/Pyt...

Conditional statement, etc. organizing in gedit

Hi, I was wondering if it was possible to group/organize conditional statement blocks in gedit in much the same manner as notepad++, via a plug-in or other means. Thanks to all in advance. http://i50.tinypic.com/2vuyd5f.png (Image, for reference.) ...

Gedit adds line at end of page

The answer to this must be somewhere but I'm not finding it -- can anyone help me understand why in Gedit, if I have a page of code there is no extra trailing blank line, but then when I do a file comparison for my svn commit it shows an extra line being added at the end of the file? I have a feeling that Gedit is automatically adding a...

Add a new language to gtksourceview (Django's template language for gedit)

Edit: I found the problem : in another context, there was a % in a regexp, so the %} was not interpreted. Hello ! I got a problem to add a new language to gtksourceview (used by gedit). I want to add the Django's template language and something does not work : I am not able to make %} stop the syntactic coloring. Here is a snippet : ...

get Gedit Theme ?

i need some good gedit theme, where did you get one ? Thanks Adam Ramadhan ...

Is it possible to recover an usaved file that was being edited in gedit in ubuntu?

My ubuntu just got completely mad, not allowing to select anything with the mouse or switch between apps. I had to go to the terminal (ctrl+shit+1) and do a "sudo shutdown now". Afterwards I remembered I had a very important text not saved in a gedit window. Is it possible to recover that somehow?? Thanks ...

Math in reStructuredText with LaTeX

I would like to use a lightweight markup language to take notes in my college classes. My editor of choice is gedit, and I found reStructuredText Tools for Gedit, which will run the reStructuredText processor and render the HTML in a pane in gedit. This is great, and 80% of the way there. But for many of my classes I need to include m...

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. ...

How to config Gedit on osx to edit UTF-8 files

I find the ~/.gconf/apps/gedit-2 directory where the %gconf file is. But How should i change it so that it use utf-8 as default. ...

Why doesn't gedit recognize the encoding of my output file created from perl program?

#!/usr/bin/perl -w use strict; open (EVENTLOGFILE, "<eventlog.txt") || die("Could not open file eventlog file"); open (EVENTLOGFILE_NODATETIME, ">eventlog_nodatetime.txt") || die("Could not open new event log file"); my($line) = ""; while ($line = <EVENTLOGFILE>) { my @fields = split /[ \t]/, $line; my($newline) = ""; my($i) = 1; ...