From yinsee@wsatp.com Sun Jun 1 15:41:09 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 2F74A750182 for ; Sun, 1 Jun 2008 15:41:09 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 0.002 X-Spam-Level: X-Spam-Status: No, score=0.002 tagged_above=-999 required=2 tests=[BAYES_50=0.001, HTML_MESSAGE=0.001] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 7885 hrs), (distance 17, link: (Google 2)), [209.85.128.190] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6-Asalfgc2Ge for ; Sun, 1 Jun 2008 15:41:01 +0000 (GMT) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by menubar.gnome.org (Postfix) with ESMTP id 7A5F37500F8 for ; Sun, 1 Jun 2008 15:41:01 +0000 (GMT) Received: by fk-out-0910.google.com with SMTP id k31so680360fkk.15 for ; Sun, 01 Jun 2008 08:40:59 -0700 (PDT) Received: by 10.78.107.1 with SMTP id f1mr1851792huc.85.1212334858846; Sun, 01 Jun 2008 08:40:58 -0700 (PDT) Received: by 10.78.175.7 with HTTP; Sun, 1 Jun 2008 08:40:58 -0700 (PDT) Message-ID: Date: Sun, 1 Jun 2008 23:40:58 +0800 From: "Yin See Tan" To: gedit-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1270_12418851.1212334858813" Subject: [gedit-list] FTP Browser plugin for GEdit X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2008 15:41:09 -0000 ------=_Part_1270_12418851.1212334858813 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline hi, my first post to the list. i am a web developer and many time i have to edit files directly from ftp. i have written a simple plugin that allow quickly access to FTP and edit the files. once you entered your hostname, username, password you connect to the ftp and start editing the file. the plugin download your file into /tmp and as you save the file it will then upload it back to your FTP. give it a try and i hope you guys find it useful and recommend it to your friends. i also hope for the plugin to get listed in http://live.gnome.org/GeditPlugins ;) the plugin has been uploaded to http://code.google.com/p/gedit-ftp-browser/ ps: i just learned that the File Browser plugins can achieve the same by adding FTP Bookmarks, saves you a few mouse clicks if you just wan to quickly open up FTP and edit something ;) also, it does not require nautilus. ------=_Part_1270_12418851.1212334858813 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline hi, my first post to the list. i am a web developer and many time i have to edit files directly from ftp.

i have written a simple plugin that allow quickly access to FTP and edit the files. once you entered your hostname, username, password you connect to the ftp and start editing the file. the plugin download your file into /tmp and as you save the file it will then upload it back to your FTP.

give it a try and i hope you guys find it useful and recommend it to your friends.
i also hope for the plugin to get listed in http://live.gnome.org/GeditPlugins ;)

the plugin has been uploaded to http://code.google.com/p/gedit-ftp-browser/

ps: i just learned that the File Browser plugins can achieve the same by adding FTP Bookmarks, saves you a few mouse clicks if you just wan to quickly open up FTP and edit something ;) also, it does not require nautilus.

------=_Part_1270_12418851.1212334858813-- From andras.barna@gmail.com Sun Jun 1 15:56:13 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7D33F750128 for ; Sun, 1 Jun 2008 15:56:13 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 7153 hrs), (distance 14, link: (Google 2)), [74.125.46.28] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y19FDTcvC0Ci for ; Sun, 1 Jun 2008 15:56:05 +0000 (GMT) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by menubar.gnome.org (Postfix) with ESMTP id 4DE2B7500F8 for ; Sun, 1 Jun 2008 15:56:05 +0000 (GMT) Received: by yw-out-2324.google.com with SMTP id 5so236697ywh.63 for ; Sun, 01 Jun 2008 08:56:03 -0700 (PDT) Received: by 10.150.191.10 with SMTP id o10mr9430759ybf.56.1212335763645; Sun, 01 Jun 2008 08:56:03 -0700 (PDT) Received: by 10.151.11.1 with HTTP; Sun, 1 Jun 2008 08:56:03 -0700 (PDT) Message-ID: <56dc2e760806010856u2a766260qe694a1d4bfef6776@mail.gmail.com> Date: Sun, 1 Jun 2008 18:56:03 +0300 From: "Andras Barna" To: "Yin See Tan" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: gedit-list@gnome.org Subject: Re: [gedit-list] FTP Browser plugin for GEdit X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2008 15:56:13 -0000 hi i'm not pleased to be the first bug reporter but.. "FTP LIST error. Reason: exceptions.IndexError list index out of range" 2008/6/1 Yin See Tan : > hi, my first post to the list. i am a web developer and many time i have to > edit files directly from ftp. > > i have written a simple plugin that allow quickly access to FTP and edit the > files. once you entered your hostname, username, password you connect to the > ftp and start editing the file. the plugin download your file into /tmp and > as you save the file it will then upload it back to your FTP. > > give it a try and i hope you guys find it useful and recommend it to your > friends. > i also hope for the plugin to get listed in > http://live.gnome.org/GeditPlugins ;) > > the plugin has been uploaded to http://code.google.com/p/gedit-ftp-browser/ > > ps: i just learned that the File Browser plugins can achieve the same by > adding FTP Bookmarks, saves you a few mouse clicks if you just wan to > quickly open up FTP and edit something ;) also, it does not require > nautilus. > > > _______________________________________________ > gedit-list mailing list > gedit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gedit-list > > -- Andy http://blog.sartek.net From yinsee@wsatp.com Sun Jun 1 16:11:16 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 0FCEC75019B for ; Sun, 1 Jun 2008 16:11:16 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.109 X-Spam-Level: X-Spam-Status: No, score=-1.109 tagged_above=-999 required=2 tests=[BAYES_05=-1.11, HTML_MESSAGE=0.001] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 7890 hrs), (distance 17, link: (Google 2)), [209.85.128.184] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jPiUTIgsvzPf for ; Sun, 1 Jun 2008 16:11:11 +0000 (GMT) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by menubar.gnome.org (Postfix) with ESMTP id 97AF77501D6 for ; Sun, 1 Jun 2008 16:11:10 +0000 (GMT) Received: by fk-out-0910.google.com with SMTP id k31so686737fkk.15 for ; Sun, 01 Jun 2008 09:11:08 -0700 (PDT) Received: by 10.78.107.1 with SMTP id f1mr1857052huc.85.1212336668052; Sun, 01 Jun 2008 09:11:08 -0700 (PDT) Received: by 10.78.175.7 with HTTP; Sun, 1 Jun 2008 09:11:07 -0700 (PDT) Message-ID: Date: Mon, 2 Jun 2008 00:11:07 +0800 From: "Yin See Tan" To: "Andras Barna" In-Reply-To: <56dc2e760806010856u2a766260qe694a1d4bfef6776@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1372_30187727.1212336668021" References: <56dc2e760806010856u2a766260qe694a1d4bfef6776@mail.gmail.com> Cc: gedit-list@gnome.org Subject: Re: [gedit-list] FTP Browser plugin for GEdit X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2008 16:11:16 -0000 ------=_Part_1372_30187727.1212336668021 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline andras, how do you reproduce it? On Sun, Jun 1, 2008 at 11:56 PM, Andras Barna wrote: > hi > > i'm not pleased to be the first bug reporter but.. > > "FTP LIST error. Reason: > exceptions.IndexError list index out of range" > ------=_Part_1372_30187727.1212336668021 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline andras,
how do you reproduce it?

On Sun, Jun 1, 2008 at 11:56 PM, Andras Barna <andras.barna@gmail.com> wrote:
hi

i'm not pleased to be the first bug reporter but..

"FTP LIST error. Reason:
exceptions.IndexError list index out of range"

------=_Part_1372_30187727.1212336668021-- From mike.tielie@gmail.com Sun Jun 1 18:37:13 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4088A7500D7 for ; Sun, 1 Jun 2008 18:37:13 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 8073 hrs), (distance 16, link: (Google 2)), [64.233.182.185] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cgsTbYYp-vlI for ; Sun, 1 Jun 2008 18:37:05 +0000 (GMT) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by menubar.gnome.org (Postfix) with ESMTP id BF5B97500A7 for ; Sun, 1 Jun 2008 18:37:04 +0000 (GMT) Received: by nf-out-0910.google.com with SMTP id c7so297618nfi.23 for ; Sun, 01 Jun 2008 11:37:02 -0700 (PDT) Received: by 10.210.141.4 with SMTP id o4mr6402493ebd.154.1212345422531; Sun, 01 Jun 2008 11:37:02 -0700 (PDT) Received: from ?192.168.1.127? ( [81.170.236.54]) by mx.google.com with ESMTPS id f7sm18013776nfh.38.2008.06.01.11.37.00 (version=SSLv3 cipher=RC4-MD5); Sun, 01 Jun 2008 11:37:01 -0700 (PDT) From: Mikael Hermansson To: Yin See Tan In-Reply-To: References: Content-Type: text/plain Date: Sun, 01 Jun 2008 20:37:06 +0200 Message-Id: <1212345426.16277.1.camel@barebone.tielie.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1.1 Content-Transfer-Encoding: 7bit Cc: gedit-list@gnome.org Subject: Re: [gedit-list] FTP Browser plugin for GEdit X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2008 18:37:13 -0000 Hmm I maybe wrong but isnt this supported directly in filechooser/filebrowserplugin? Greets M.H. On Sun, 2008-06-01 at 23:40 +0800, Yin See Tan wrote: > hi, my first post to the list. i am a web developer and many time i > have to edit files directly from ftp. > > i have written a simple plugin that allow quickly access to FTP and > edit the files. once you entered your hostname, username, password you > connect to the ftp and start editing the file. the plugin download > your file into /tmp and as you save the file it will then upload it > back to your FTP. > > give it a try and i hope you guys find it useful and recommend it to > your friends. > i also hope for the plugin to get listed in > http://live.gnome.org/GeditPlugins ;) > > the plugin has been uploaded to > http://code.google.com/p/gedit-ftp-browser/ > > ps: i just learned that the File Browser plugins can achieve the same > by adding FTP Bookmarks, saves you a few mouse clicks if you just wan > to quickly open up FTP and edit something ;) also, it does not require > nautilus. > > _______________________________________________ > gedit-list mailing list > gedit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gedit-list From andras.barna@gmail.com Mon Jun 2 02:04:32 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E01BA7502C5 for ; Mon, 2 Jun 2008 02:04:32 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 7254 hrs), (distance 15, link: (Google 2)), [74.125.46.31] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qV8IszKH2G+r for ; Mon, 2 Jun 2008 02:04:25 +0000 (GMT) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by menubar.gnome.org (Postfix) with ESMTP id BF39175020A for ; Mon, 2 Jun 2008 02:04:24 +0000 (GMT) Received: by yw-out-2324.google.com with SMTP id 5so299121ywh.63 for ; Sun, 01 Jun 2008 19:04:21 -0700 (PDT) Received: by 10.151.42.18 with SMTP id u18mr8682647ybj.175.1212372260852; Sun, 01 Jun 2008 19:04:20 -0700 (PDT) Received: by 10.151.11.1 with HTTP; Sun, 1 Jun 2008 19:04:20 -0700 (PDT) Message-ID: <56dc2e760806011904t420a104j5e7df0a0fd8f98ae@mail.gmail.com> Date: Mon, 2 Jun 2008 05:04:20 +0300 From: "Andras Barna" To: "Yin See Tan" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <56dc2e760806010856u2a766260qe694a1d4bfef6776@mail.gmail.com> Cc: gedit-list@gnome.org Subject: Re: [gedit-list] FTP Browser plugin for GEdit X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2008 02:04:33 -0000 I simply connect to that server :) i tried from python shell: ftp.retrlines('LIST') and ftp.dir() , works ok you can try with ftp.netbsd.org for example here not works (the same prob) On Sun, Jun 1, 2008 at 7:11 PM, Yin See Tan wrote: > andras, > how do you reproduce it? > > On Sun, Jun 1, 2008 at 11:56 PM, Andras Barna > wrote: >> >> hi >> >> i'm not pleased to be the first bug reporter but.. >> >> "FTP LIST error. Reason: >> exceptions.IndexError list index out of range" > > -- Andy http://blog.sartek.net From yinsee@wsatp.com Mon Jun 2 03:55:57 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1806275023E for ; Mon, 2 Jun 2008 03:55:57 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.598 X-Spam-Level: X-Spam-Status: No, score=-2.598 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 8007 hrs), (distance 15, link: (Google 2)), [209.85.128.191] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U7vi3-8OtfVg for ; Mon, 2 Jun 2008 03:55:49 +0000 (GMT) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by menubar.gnome.org (Postfix) with ESMTP id 8C61A7502BF for ; Mon, 2 Jun 2008 03:55:48 +0000 (GMT) Received: by fk-out-0910.google.com with SMTP id k31so809528fkk.15 for ; Sun, 01 Jun 2008 20:55:46 -0700 (PDT) Received: by 10.78.146.13 with SMTP id t13mr70670hud.101.1212378945864; Sun, 01 Jun 2008 20:55:45 -0700 (PDT) Received: by 10.78.175.7 with HTTP; Sun, 1 Jun 2008 20:55:45 -0700 (PDT) Message-ID: Date: Mon, 2 Jun 2008 11:55:45 +0800 From: "Yin See Tan" To: "Andras Barna" In-Reply-To: <56dc2e760806011904t420a104j5e7df0a0fd8f98ae@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2523_24768643.1212378945860" References: <56dc2e760806010856u2a766260qe694a1d4bfef6776@mail.gmail.com> <56dc2e760806011904t420a104j5e7df0a0fd8f98ae@mail.gmail.com> Cc: gedit-list@gnome.org Subject: Re: [gedit-list] FTP Browser plugin for GEdit X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2008 03:55:57 -0000 ------=_Part_2523_24768643.1212378945860 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline i got it fixed, some ftp server return a "total 1234" line first. tq. On Mon, Jun 2, 2008 at 10:04 AM, Andras Barna wrote: > I simply connect to that server :) > i tried from python shell: > ftp.retrlines('LIST') and ftp.dir() , works ok > > you can try with ftp.netbsd.org for example here not works (the same prob) > > On Sun, Jun 1, 2008 at 7:11 PM, Yin See Tan wrote: > > andras, > > how do you reproduce it? > > > > On Sun, Jun 1, 2008 at 11:56 PM, Andras Barna > > wrote: > >> > >> hi > >> > >> i'm not pleased to be the first bug reporter but.. > >> > >> "FTP LIST error. Reason: > >> exceptions.IndexError list index out of range" > > > > > > > > -- > Andy > http://blog.sartek.net > ------=_Part_2523_24768643.1212378945860 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline i got it fixed, some ftp server return a "total 1234" line first.
tq.

On Mon, Jun 2, 2008 at 10:04 AM, Andras Barna <andras.barna@gmail.com> wrote:
I simply connect to that server :)
i tried from python shell:
ftp.retrlines('LIST') and ftp.dir() , works ok

you can try with ftp.netbsd.org for example here not works (the same prob)

On Sun, Jun 1, 2008 at 7:11 PM, Yin See Tan <yinsee@wsatp.com> wrote:
> andras,
> how do you reproduce it?
>
> On Sun, Jun 1, 2008 at 11:56 PM, Andras Barna <andras.barna@gmail.com>
> wrote:
>>
>> hi
>>
>> i'm not pleased to be the first bug reporter but..
>>
>> "FTP LIST error. Reason:
>> exceptions.IndexError list index out of range"
>
>




------=_Part_2523_24768643.1212378945860-- From chombee@nerdshack.com Mon Jun 2 12:02:20 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7D3A97501D2 for ; Mon, 2 Jun 2008 12:02:20 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 1.882 X-Spam-Level: * X-Spam-Status: No, score=1.882 tagged_above=-999 required=2 tests=[BAYES_40=-0.185, RCVD_NUMERIC_HELO=2.067] X-Amavis-OS-Fingerprint: Linux 2.6, seldom 2.4 (older, 4) (up: 2377 hrs), (distance 16, link: ethernet/modem), [72.249.41.33] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k80hry7LhX9O for ; Mon, 2 Jun 2008 12:02:12 +0000 (GMT) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by menubar.gnome.org (Postfix) with ESMTP id CFF0D75044D for ; Mon, 2 Jun 2008 12:02:12 +0000 (GMT) Received: from b.earth.lavabit.com (b.earth.lavabit.com [192.168.111.11]) by karen.lavabit.com (Postfix) with ESMTP id 36C34C83E9 for ; Mon, 2 Jun 2008 07:02:04 -0500 (CDT) Received: from 129.215.164.116 (pcs9732397.inf.ed.ac.uk [129.215.164.116]) by lavabit.com with ESMTP id ZQBKN43TNFMD for ; Mon, 02 Jun 2008 07:02:10 -0500 From: chombee To: gedit-list@gnome.org Content-Type: text/plain Date: Mon, 02 Jun 2008 12:56:51 +0100 Message-Id: <1212407811.6353.5.camel@marley> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1.1 Content-Transfer-Encoding: 7bit Subject: [gedit-list] "Document Words Completion" plugin X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2008 12:02:20 -0000 This plugin is listed on http://live.gnome.org/Gedit/Plugins but there is only a link to the gtksourcecompletion library that it depends on, no link to the plugin itself. Further down there is a plugin called "Word completion" that does have a link to the plugin itself, and does work, and doesn't depend on gtksourcecompletion either. Perhaps this second plugin should be promoted? I think there are at least two more plugins for this feature further down also. From shundread@gmail.com Mon Jun 2 16:45:14 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 117A1750185 for ; Mon, 2 Jun 2008 16:45:14 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 11584 hrs), (distance 14, link: (Google 2)), [74.125.44.28] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZKKJ-kxQ3PA6 for ; Mon, 2 Jun 2008 16:45:02 +0000 (GMT) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by menubar.gnome.org (Postfix) with ESMTP id 1D23B7501B5 for ; Mon, 2 Jun 2008 16:45:01 +0000 (GMT) Received: by yx-out-2324.google.com with SMTP id 8so75635yxb.63 for ; Mon, 02 Jun 2008 09:45:00 -0700 (PDT) Received: by 10.151.42.9 with SMTP id u9mr3264895ybj.128.1212425099562; Mon, 02 Jun 2008 09:44:59 -0700 (PDT) Received: by 10.150.229.7 with HTTP; Mon, 2 Jun 2008 09:44:59 -0700 (PDT) Message-ID: <9e2497fd0806020944p157d7b28sc4535e9dc50f1213@mail.gmail.com> Date: Mon, 2 Jun 2008 13:44:59 -0300 From: "Thiago Chaves" To: gedit-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [gedit-list] Newbie question. Configure dialogs in Gedit plugins X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2008 16:45:14 -0000 Hi people, BACKGROUND INFO: Under the excuse of learning how to play with networking using Python, I decided to try my hand at writing a plugin for Gedit that allows two or more users to connect and edit a same document (or group of documents) at the same time. In the first couple hours, I quickly found a good tutorial explaining how to write plugins and got a tiny piece of the plugin written down. THE PROBLEM: However, quickly I bumped into the first problem: Where's the method that runs the configure dialog? I mean, there's one that creates and returns it, but where is the dialog being run from. WHY DOES IT SOUND LIKE IT MATTERS TO ME: So, I define "create_configure_dialog", connect the response signal to a standalone function called "on_preferences_dialog_response(ob, *args)" and that's that. The dialog has one entry, USERNAME, and the OK and Cancel button. If Cancel is pressed, I destroy (should I hide it instead?) the dialog without any remorse. But if OK is pressed, it means that changes are relevant and I want the plugin to know about it, and that means telling the plugin about the new username. Am I following a correct line of thought here or should I be doing something different? I considered just shoving a plugin reference into the dialog and having the dialog change information in the plugin while handling the ok response, but that sounds horribly nonstandard to me. The alternative which I have started to ponder is having the dialog write the configuration file when handling the ok response. In that case, where should I send the configuration file? Here's the tutorial I found: http://live.gnome.org/Gedit/PythonPluginHowTo I googled a bit for other sources, but I couldn't find anything more complete for that. -Thiago PS: A couple of minutes ago I noticed that there's the Collaborate (http://matt.colyer.name/projects/collaborate/) plugin for Gedit, but I'm still interested in writing mine anyway. From nudrema@gmail.com Mon Jun 2 17:42:56 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id AFFE07502E3 for ; Mon, 2 Jun 2008 17:42:56 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 8201 hrs), (distance 15, link: (Google 2)), [209.85.132.248] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K3-OIwUwM-o7 for ; Mon, 2 Jun 2008 17:42:51 +0000 (GMT) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by menubar.gnome.org (Postfix) with ESMTP id 8DC7C75020A for ; Mon, 2 Jun 2008 17:42:45 +0000 (GMT) Received: by an-out-0708.google.com with SMTP id c3so279558ana.27 for ; Mon, 02 Jun 2008 10:42:43 -0700 (PDT) Received: by 10.100.32.8 with SMTP id f8mr15480484anf.5.1212428563394; Mon, 02 Jun 2008 10:42:43 -0700 (PDT) Received: by 10.100.12.17 with HTTP; Mon, 2 Jun 2008 10:42:43 -0700 (PDT) Message-ID: Date: Mon, 2 Jun 2008 19:42:43 +0200 From: "=?ISO-8859-1?Q?Steve_Fr=E9cinaux?=" To: "Thiago Chaves" In-Reply-To: <9e2497fd0806020944p157d7b28sc4535e9dc50f1213@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9e2497fd0806020944p157d7b28sc4535e9dc50f1213@mail.gmail.com> Cc: gedit-list@gnome.org Subject: Re: [gedit-list] Newbie question. Configure dialogs in Gedit plugins X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2008 17:42:56 -0000 On Mon, Jun 2, 2008 at 6:44 PM, Thiago Chaves wrote: > Hi people, > THE PROBLEM: > However, quickly I bumped into the first problem: Where's the method > that runs the configure dialog? I mean, there's one that creates and > returns it, but where is the dialog being run from. The preference window runs it when you click on the configure button of the plugin list. > WHY DOES IT SOUND LIKE IT MATTERS TO ME: > So, I define "create_configure_dialog", connect the response signal to > a standalone function called "on_preferences_dialog_response(ob, > *args)" and that's that. The dialog has one entry, USERNAME, and the > OK and Cancel button. If Cancel is pressed, I destroy (should I hide > it instead?) the dialog without any remorse. But if OK is pressed, it > means that changes are relevant and I want the plugin to know about > it, and that means telling the plugin about the new username. What's wrong with just using the response signal, and saving/passing settings to the plugin at that moment? From chuchiperriman@gmail.com Mon Jun 2 17:43:41 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D62D87500EE for ; Mon, 2 Jun 2008 17:43:41 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 8304 hrs), (distance 16, link: (Google 2)), [64.233.182.185] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id trnO16E5bumw for ; Mon, 2 Jun 2008 17:43:34 +0000 (GMT) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by menubar.gnome.org (Postfix) with ESMTP id 0D89E75013C for ; Mon, 2 Jun 2008 17:43:33 +0000 (GMT) Received: by nf-out-0910.google.com with SMTP id c7so441898nfi.23 for ; Mon, 02 Jun 2008 10:43:32 -0700 (PDT) Received: by 10.210.60.8 with SMTP id i8mr1854933eba.24.1212428611915; Mon, 02 Jun 2008 10:43:31 -0700 (PDT) Received: from homer ( [80.28.0.3]) by mx.google.com with ESMTPS id t12sm6708025gvd.10.2008.06.02.10.43.29 (version=SSLv3 cipher=RC4-MD5); Mon, 02 Jun 2008 10:43:30 -0700 (PDT) Date: Mon, 2 Jun 2008 19:43:24 +0200 From: Perriman To: chombee Message-ID: <20080602194324.37ff1563@homer> In-Reply-To: <1212407811.6353.5.camel@marley> References: <1212407811.6353.5.camel@marley> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: gedit-list@gnome.org Subject: Re: [gedit-list] "Document Words Completion" plugin X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2008 17:43:42 -0000 Hi Chombee, I have developed document words completion. I put the sourceforge link because you need install gtksourcecompletion library and then gedit-documentwords-plugin. In sourceforge page you can find the library and the plugin. Regards, Perriman El Mon, 02 Jun 2008 12:56:51 +0100 chombee escribi=C3=B3: > This plugin is listed on http://live.gnome.org/Gedit/Plugins but there > is only a link to the gtksourcecompletion library that it depends on, > no link to the plugin itself. Further down there is a plugin called > "Word completion" that does have a link to the plugin itself, and > does work, and doesn't depend on gtksourcecompletion either. Perhaps > this second plugin should be promoted? >=20 > I think there are at least two more plugins for this feature further > down also. >=20 >=20 > _______________________________________________ > gedit-list mailing list > gedit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gedit-list From chombee@nerdshack.com Tue Jun 3 14:51:15 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 8A6BA750253 for ; Tue, 3 Jun 2008 14:51:15 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 1.327 X-Spam-Level: * X-Spam-Status: No, score=1.327 tagged_above=-999 required=2 tests=[BAYES_20=-0.74, RCVD_NUMERIC_HELO=2.067] X-Amavis-OS-Fingerprint: Linux 2.6, seldom 2.4 (older, 4) (up: 2645 hrs), (distance 16, link: ethernet/modem), [72.249.41.33] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fxo1P5EUCqf0 for ; Tue, 3 Jun 2008 14:51:08 +0000 (GMT) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by menubar.gnome.org (Postfix) with ESMTP id CF348750132 for ; Tue, 3 Jun 2008 14:51:07 +0000 (GMT) Received: from b.earth.lavabit.com (b.earth.lavabit.com [192.168.111.11]) by karen.lavabit.com (Postfix) with ESMTP id 2FC73C7B09 for ; Tue, 3 Jun 2008 09:50:59 -0500 (CDT) Received: from 129.215.164.116 (pcs9732397.inf.ed.ac.uk [129.215.164.116]) by lavabit.com with ESMTP id LQDS1HG6E4KN for ; Tue, 03 Jun 2008 09:51:06 -0500 From: chombee To: gedit-list@gnome.org In-Reply-To: <20080602194324.37ff1563@homer> References: <1212407811.6353.5.camel@marley> <20080602194324.37ff1563@homer> Content-Type: text/plain Date: Tue, 03 Jun 2008 15:45:42 +0100 Message-Id: <1212504342.25950.10.camel@marley> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1.1 Content-Transfer-Encoding: 7bit Subject: Re: [gedit-list] "Document Words Completion" plugin X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2008 14:51:15 -0000 On Mon, 2008-06-02 at 19:43 +0200, Perriman wrote: > Hi Chombee, > > I have developed document words completion. I put the > sourceforge link because you need install gtksourcecompletion library > and then gedit-documentwords-plugin. In sourceforge page you can find > the library and the plugin. So I can! Thanks, it's working here. Did you develop GTKSourceCompletion itself as well as the gedit plugin? And GTKSnippets too? I think you're doing good work. It would be great to see these features everywhere, not just embedded in one application. The GEdit plugin only seems to activate word completion, not source code completion? Is there a way to get source code completion in gedit yet? Looking at your snippets screencast, I think you are going the wrong way with the user interface, using a popup window. Snippets should function in-place, in the editor, like the older snippets plugin for gedit. But even better than that, checkout the way snippets are implemented in Scribes from this screencast, gedit could learn a thing or two: http://scribes.sourceforge.net/demo.htm Personally I think it could go one step further by letting the user add a new snippet by just typing it out in a file, highlighting it, and selecting 'add snippet.' Other things I think gedit and its plugins could learn from Scribes: * Automatic word replacement. e.g. when the user type teh it automatically changes to the. * Scribes' bracket auto-completion is smarter, doesn't get in the way. * Scribes' auto-saving feature is great, the user only ever has to press Save once, when saving a new file for the first time. From nudrema@gmail.com Tue Jun 3 18:22:45 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 533EE750194 for ; Tue, 3 Jun 2008 18:22:45 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 8447 hrs), (distance 16, link: (Google 2)), [209.85.132.247] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0tDqWY-4LkJA for ; Tue, 3 Jun 2008 18:22:39 +0000 (GMT) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by menubar.gnome.org (Postfix) with ESMTP id CE38A750292 for ; Tue, 3 Jun 2008 18:22:38 +0000 (GMT) Received: by an-out-0708.google.com with SMTP id c3so395996ana.27 for ; Tue, 03 Jun 2008 11:22:37 -0700 (PDT) Received: by 10.100.144.11 with SMTP id r11mr18005837and.140.1212517356895; Tue, 03 Jun 2008 11:22:36 -0700 (PDT) Received: by 10.100.12.17 with HTTP; Tue, 3 Jun 2008 11:22:36 -0700 (PDT) Message-ID: Date: Tue, 3 Jun 2008 20:22:36 +0200 From: "=?ISO-8859-1?Q?Steve_Fr=E9cinaux?=" To: "Joakim Olsson" In-Reply-To: <48403533.3070008@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48403533.3070008@gnu.org> Cc: gedit-list@gnome.org Subject: Re: [gedit-list] It would be nice with this function X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2008 18:22:45 -0000 On Fri, May 30, 2008 at 7:11 PM, Joakim Olsson wrote: > I think it would be nice if you could choose a setting which would do so > if you press enter once, there are two line breaks. :D Write a plugin for it ;-) From chuchiperriman@gmail.com Tue Jun 3 23:50:07 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 0479C7501B1 for ; Tue, 3 Jun 2008 23:50:07 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 8605 hrs), (distance 16, link: (Google 2)), [64.233.182.185] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C35fRV2cW4Th for ; Tue, 3 Jun 2008 23:49:36 +0000 (GMT) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by menubar.gnome.org (Postfix) with ESMTP id 63C847501ED for ; Tue, 3 Jun 2008 23:49:35 +0000 (GMT) Received: by nf-out-0910.google.com with SMTP id c7so663172nfi.23 for ; Tue, 03 Jun 2008 16:49:33 -0700 (PDT) Received: by 10.210.34.5 with SMTP id h5mr3208947ebh.84.1212536972693; Tue, 03 Jun 2008 16:49:32 -0700 (PDT) Received: from homer ( [80.28.0.3]) by mx.google.com with ESMTPS id t2sm1030936gve.9.2008.06.03.16.49.30 (version=SSLv3 cipher=RC4-MD5); Tue, 03 Jun 2008 16:49:31 -0700 (PDT) Date: Wed, 4 Jun 2008 01:49:24 +0200 From: Perriman To: gedit-list@gnome.org Message-ID: <20080604014924.2aa90286@homer> In-Reply-To: <1212504342.25950.10.camel@marley> References: <1212407811.6353.5.camel@marley> <20080602194324.37ff1563@homer> <1212504342.25950.10.camel@marley> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [gedit-list] "Document Words Completion" plugin X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2008 23:50:07 -0000 Hi Chombee, Thanks for your comments!!! The snippets library is at the start, I really develop the vars popup to test regexp and to do an standard popup not depending on gedit to use with other applications (we use it in my job). I want to develop an in-place variable replacement but I need some time to do it :( We are working on include GtkSourceCompletion into GtkSourceView and, when we finish, we could use it in all applications using gtksourceview. Currently we haven't got a source code completion. GtkSourceCompletion supports custom providers. You (or someone) can write a C code provider, a python code provider etc to provide the data to GtkSourceCompletion. If someone develop this provider, we can use it in all application with GtkSourceView, this is the idea. Regards, Perriman El Tue, 03 Jun 2008 15:45:42 +0100 chombee escribi=C3=B3: > On Mon, 2008-06-02 at 19:43 +0200, Perriman wrote: > > Hi Chombee, > >=20 > > I have developed document words completion. I put the > > sourceforge link because you need install gtksourcecompletion > > library and then gedit-documentwords-plugin. In sourceforge page > > you can find the library and the plugin. >=20 > So I can! Thanks, it's working here. Did you develop > GTKSourceCompletion itself as well as the gedit plugin? And > GTKSnippets too? I think you're doing good work. It would be great to > see these features everywhere, not just embedded in one application. >=20 > The GEdit plugin only seems to activate word completion, not source > code completion? Is there a way to get source code completion in > gedit yet? >=20 > Looking at your snippets screencast, I think you are going the wrong > way with the user interface, using a popup window. Snippets should > function in-place, in the editor, like the older snippets plugin for > gedit. But even better than that, checkout the way snippets are > implemented in Scribes from this screencast, gedit could learn a > thing or two: >=20 > http://scribes.sourceforge.net/demo.htm >=20 > Personally I think it could go one step further by letting the user > add a new snippet by just typing it out in a file, highlighting it, > and selecting 'add snippet.' >=20 > Other things I think gedit and its plugins could learn from Scribes: >=20 > * Automatic word replacement. e.g. when the user type teh it > automatically changes to the. > * Scribes' bracket auto-completion is smarter, doesn't get in the way. > * Scribes' auto-saving feature is great, the user only ever has to > press Save once, when saving a new file for the first time. >=20 >=20 > _______________________________________________ > gedit-list mailing list > gedit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gedit-list From chombee@nerdshack.com Wed Jun 4 12:12:38 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A0DAC7504FA for ; Wed, 4 Jun 2008 12:12:38 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: YES X-Spam-Score: 2.036 X-Spam-Level: ** X-Spam-Status: Yes, score=2.036 tagged_above=-999 required=2 tests=[BAYES_40=-0.185, RCVD_NUMERIC_HELO=2.067, TW_GT=0.077, TW_SV=0.077] X-Amavis-OS-Fingerprint: Linux 2.6, seldom 2.4 (older, 4) (up: 2857 hrs), (distance 16, link: ethernet/modem), [72.249.41.33] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cSPmREsC9sjl for ; Wed, 4 Jun 2008 12:12:31 +0000 (GMT) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by menubar.gnome.org (Postfix) with ESMTP id F0129750450 for ; Wed, 4 Jun 2008 12:06:21 +0000 (GMT) Received: from d.earth.lavabit.com (d.earth.lavabit.com [192.168.111.13]) by karen.lavabit.com (Postfix) with ESMTP id 16200C843E for ; Wed, 4 Jun 2008 07:06:13 -0500 (CDT) Received: from 129.215.164.116 (pcs9732397.inf.ed.ac.uk [129.215.164.116]) by lavabit.com with ESMTP id VTDLK41ELV5V for ; Wed, 04 Jun 2008 07:06:20 -0500 From: chombee To: gedit-list@gnome.org Content-Type: text/plain Date: Wed, 04 Jun 2008 13:00:58 +0100 Message-Id: <1212580858.5519.0.camel@marley> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1.1 Content-Transfer-Encoding: 7bit Subject: [gedit-list] GHOP themes X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2008 12:12:38 -0000 Something seems to be wrong, the svn command to checkout the GHOP themes on this page doesn't work: http://live.gnome.org/GtkSourceView/StyleSchemes seanh@marley:$ svn co svn://nex-3.com/gtk-themes gtksourceview-themes svn: Can't open file '/svn/gtk-themes/conf/passwd': No such file or directory seanh@marley:$ From josh8912@yahoo.com Sat Jun 7 22:04:49 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A75FC7501E0 for ; Sat, 7 Jun 2008 22:04:49 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -0.999 X-Spam-Level: X-Spam-Status: No, score=-0.999 tagged_above=-999 required=2 tests=[BAYES_50=0.001, L_P0F_Unix=-1] X-Amavis-OS-Fingerprint: FreeBSD 6.x (1) (up: 9548 hrs), (distance 15, link: ethernet/modem), [206.190.36.231] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UoLGeGAnmqLA for ; Sat, 7 Jun 2008 22:04:43 +0000 (GMT) Received: from web54007.mail.re2.yahoo.com (web54007.mail.re2.yahoo.com [206.190.36.231]) by menubar.gnome.org (Postfix) with SMTP id 53A1A7500EB for ; Sat, 7 Jun 2008 22:04:42 +0000 (GMT) Received: (qmail 85997 invoked by uid 60001); 7 Jun 2008 22:04:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=o64TTxyMRiLjxRTivx4J8cOw9Dl+KsL9tNyQcDzU9F/uFJ9cDaEtB9bqk8eg/3FoMAi8+a0PI+kAloNMFBKzmDsTk0sXg3qnp3/H/YXjK1D3LblDBTjNNNHG5WObmSM+ZMWCu5JIp1ObWeXlBlApANF1vAo5EYlZE0nyIzB+PAc=; X-YMail-OSG: 4quuoGoVM1njrp9pFwepx264bByRkS4xXymQqaAu1U1.2I.25HEFvzYuIrTuI5W8j8Ho0GyDwxudZ5jdC5g1BWc0D0hUnvXPWawVZA-- Received: from [71.198.176.236] by web54007.mail.re2.yahoo.com via HTTP; Sat, 07 Jun 2008 15:04:41 PDT Date: Sat, 7 Jun 2008 15:04:41 -0700 (PDT) From: JJ To: gedit-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <543007.84765.qm@web54007.mail.re2.yahoo.com> Subject: [gedit-list] how to code shortcuts in plugins? X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2008 22:04:49 -0000 Hello. I just wrote my first (small) plugin for gedit, and would like to know how to either add a keyboard shortcut for the menu item or even better, add a mouse right-click menu item for the plugin. Can anyone offer some (simple) example code or suggestions? I used the python plugin template when writing the code. John From jesse@icecrew.nl Sun Jun 8 09:16:56 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 02A2E7500DA for ; Sun, 8 Jun 2008 09:16:56 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] X-Amavis-OS-Fingerprint: Linux 2.6, seldom 2.4 (older, 4) (up: 3836 hrs), (distance 19, link: ethernet/modem), [87.230.85.62] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6XnWQwV8Xafc for ; Sun, 8 Jun 2008 09:16:28 +0000 (GMT) Received: from novowork.com (novowork.com [87.230.85.62]) by menubar.gnome.org (Postfix) with ESMTP id B8213750063 for ; Sun, 8 Jun 2008 09:16:27 +0000 (GMT) Received: from [192.168.1.12] (s5591931c.adsl.wanadoo.nl [85.145.147.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by novowork.com (Postfix) with ESMTP id E40EB3670002; Sun, 8 Jun 2008 11:16:24 +0200 (CEST) From: Jesse van den Kieboom To: JJ In-Reply-To: <543007.84765.qm@web54007.mail.re2.yahoo.com> References: <543007.84765.qm@web54007.mail.re2.yahoo.com> Content-Type: text/plain Date: Sun, 08 Jun 2008 11:16:23 +0200 Message-Id: <1212916583.7351.3.camel@wren> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1.1 Content-Transfer-Encoding: 7bit Cc: gedit-list@gnome.org Subject: Re: [gedit-list] how to code shortcuts in plugins? X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2008 09:16:56 -0000 Hi John, If you followed the howto on lgo, then you probably have something like this in your code to create an action for your menu: -- From lgo tutorial self._action_group.add_actions([("ExamplePy", None, _("Clear document"), None, _("Clear the document"), self.on_clear_document_activate)]) The second None in this code snippet is the accelerator (shortcut key) by which the action can be activated. You can supply something like "h" in there (see gtk_accelerator_parse). To add something to the right-click menu, you can use the 'populate-popup' signal of the gedit.Document. You need to connect to this signal for every document (mind, you then also need to watch the window to correctly add/remove the signal when a tab goes away). Jesse Op zaterdag 07-06-2008 om 15:04 uur [tijdzone -0700], schreef JJ: > Hello. I just wrote my first (small) plugin for > gedit, and would like to know how to either add a > keyboard shortcut for the menu item or even better, > add a mouse right-click menu item for the plugin. Can > anyone offer some (simple) example code or > suggestions? > > I used the python plugin template when writing the > code. > John > > > > > _______________________________________________ > gedit-list mailing list > gedit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gedit-list > -- Jesse van den Kieboom Personal: http://www.icecrew.nl Professional: http://www.novowork.com From bounces@nabble.com Wed Jun 4 08:06:39 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id BE861750107 for ; Wed, 4 Jun 2008 08:06:39 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 0.03 X-Spam-Level: X-Spam-Status: No, score=0.03 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, WHOIS_MYPRIVREG=1.499] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 3) (up: 6002 hrs), (distance 20, link: ethernet/modem), [216.139.236.158] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SgIHqtNysIki for ; Wed, 4 Jun 2008 08:06:32 +0000 (GMT) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by menubar.gnome.org (Postfix) with ESMTP id 0E448750006 for ; Wed, 4 Jun 2008 08:06:31 +0000 (GMT) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1K3o0q-0004n3-Tf for gedit-list@gnome.org; Wed, 04 Jun 2008 01:06:29 -0700 Message-ID: <17641301.post@talk.nabble.com> Date: Wed, 4 Jun 2008 01:06:28 -0700 (PDT) From: Marlun To: gedit-list@gnome.org In-Reply-To: <20080604014924.2aa90286@homer> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: martin.lundberg@gmail.com References: <1212407811.6353.5.camel@marley> <20080602194324.37ff1563@homer> <1212504342.25950.10.camel@marley> <20080604014924.2aa90286@homer> X-Mailman-Approved-At: Mon, 09 Jun 2008 08:05:05 +0000 Subject: Re: [gedit-list] "Document Words Completion" plugin X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2008 08:06:40 -0000 I just want to say that I agree on the in-line editing feature and the cust= om providers news (to me) sounds great :-) -Marlun Perriman wrote: >=20 > Hi Chombee, >=20 > =09Thanks for your comments!!! The snippets library is at the > start, I really develop the vars popup to test regexp and to do an > standard popup not depending on gedit to use with other applications > (we use it in my job). I want to develop an in-place variable > replacement but I need some time to do it :( >=20 > =09We are working on include GtkSourceCompletion into > GtkSourceView and, when we finish, we could use it in all applications > using gtksourceview. >=20 > =09Currently we haven't got a source code completion. > GtkSourceCompletion supports custom providers. You (or someone) can > write a C code provider, a python code provider etc to provide the data > to GtkSourceCompletion. If someone develop this provider, we can use it > in all application with GtkSourceView, this is the idea. >=20 > Regards, > =09Perriman >=20 >=20 >=20 > El Tue, 03 Jun 2008 15:45:42 +0100 > chombee escribi=C3=B3: >=20 >> On Mon, 2008-06-02 at 19:43 +0200, Perriman wrote: >> > Hi Chombee, >> >=20 >> > =09I have developed document words completion. I put the >> > sourceforge link because you need install gtksourcecompletion >> > library and then gedit-documentwords-plugin. In sourceforge page >> > you can find the library and the plugin. >>=20 >> So I can! Thanks, it's working here. Did you develop >> GTKSourceCompletion itself as well as the gedit plugin? And >> GTKSnippets too? I think you're doing good work. It would be great to >> see these features everywhere, not just embedded in one application. >>=20 >> The GEdit plugin only seems to activate word completion, not source >> code completion? Is there a way to get source code completion in >> gedit yet? >>=20 >> Looking at your snippets screencast, I think you are going the wrong >> way with the user interface, using a popup window. Snippets should >> function in-place, in the editor, like the older snippets plugin for >> gedit. But even better than that, checkout the way snippets are >> implemented in Scribes from this screencast, gedit could learn a >> thing or two: >>=20 >> http://scribes.sourceforge.net/demo.htm >>=20 >> Personally I think it could go one step further by letting the user >> add a new snippet by just typing it out in a file, highlighting it, >> and selecting 'add snippet.' >>=20 >> Other things I think gedit and its plugins could learn from Scribes: >>=20 >> * Automatic word replacement. e.g. when the user type teh it >> automatically changes to the. >> * Scribes' bracket auto-completion is smarter, doesn't get in the way. >> * Scribes' auto-saving feature is great, the user only ever has to >> press Save once, when saving a new file for the first time. >>=20 >>=20 >> _______________________________________________ >> gedit-list mailing list >> gedit-list@gnome.org >> http://mail.gnome.org/mailman/listinfo/gedit-list > _______________________________________________ > gedit-list mailing list > gedit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gedit-list >=20 >=20 --=20 View this message in context: http://www.nabble.com/%22Document-Words-Compl= etion%22-plugin-tp17599674p17641301.html Sent from the Gnome - Gedit mailing list archive at Nabble.com. From krjames987@gmail.com Sun Jun 8 03:42:44 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 421D0750156 for ; Sun, 8 Jun 2008 03:42:44 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 9411 hrs), (distance 13, link: (Google 2)), [209.85.142.189] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T9E3vCMQSrT1 for ; Sun, 8 Jun 2008 03:42:39 +0000 (GMT) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.189]) by menubar.gnome.org (Postfix) with ESMTP id B5094750126 for ; Sun, 8 Jun 2008 03:42:38 +0000 (GMT) Received: by ti-out-0910.google.com with SMTP id b6so493054tic.1 for ; Sat, 07 Jun 2008 20:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=dpfQK1/+UNftQF3kROL1bOlwyfbj37Ugn27vMNOnJmk=; b=FAjZ+uEggHBUkzO/cYDBedxT6W6KF5A+DGZO1WZRyPniQJoFEBKoRXSRoGTxaIser7 ZD9jI5C/t4rESM99y3h6kIcYujQKFLjOwk3vsjjwGX2/OMYLnYQR6HAWPSV/LSaQkWLX NrNriGaW+qplh69mJ1yEsoEgN3An5W5Wt7fyE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=F8xmM5reAnyh1JjHRX2JTkUOz1fI6VYslIB9ZUVuYJ+qrnpaKCfoyLNowtu/Ssbuul 7LswXz8yrFBn6JaGbIUAx7rGqD6w2l1vmwrcRL0AeQb46XeXOQu4PnGpQXAFBAf5MKPy sMEt/HXLT1qKSvFTmYOR6OSI81ClEWDam68tQ= Received: by 10.110.31.5 with SMTP id e5mr437071tie.1.1212896555952; Sat, 07 Jun 2008 20:42:35 -0700 (PDT) Received: by 10.110.73.7 with HTTP; Sat, 7 Jun 2008 20:42:35 -0700 (PDT) Message-ID: Date: Sun, 8 Jun 2008 12:42:35 +0900 From: "James Hunt" To: gedit-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=EUC-KR Content-Transfer-Encoding: base64 Content-Disposition: inline X-Mailman-Approved-At: Mon, 09 Jun 2008 08:05:06 +0000 Subject: [gedit-list] A bug? and a minor problem X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2008 03:42:44 -0000 SGVsbG8sCkkgd2FzIHdvbmRlcmluZyBpZiB0aGUgZmFjdCB0aGF0IEkgY2FuJ3QgY3V0IGFuZCBw YXN0ZSBhIHBpZWNlIG9mIHRleHQKZnJvbSBhIGdlZGl0IGNyZWF0ZWQgZmlsZSB0byBzb21ldGhp bmcgbGlrZSBNb3ppbGxhIG9yIEFiaXdvcmQgYW5kCm1haW50YWluIHRoZSBsYXlvdXQgaXMgYSBi dWcgb3Igbm90LiBJdCBpcyBhIG51aXNhbmNlIHRob3VnaC4KSSBhbSB1c2luZyBhIHN0b2NrIGdl ZGl0IGZyb20gRGViaWFuIFNhcmdlIHdpdGggTW96aWxsYSBhbmQKQWJpd29yZDIuMi43IGZyb20g dGhlIHNhbWUgZGlzdHJvLiBJIGRvIHNvbWUgd3JpdGluZyBpbiBIYW5nZXVsx9Gx2wooS29yZWFu KSBhbmQgaXQgc2VlbXMgdGhlIHRhYiBzcGFjaW5ncyBhcmUgdGhlIG1haW4gcHJvYmxlbS4KVGhl IG90aGVyIHRoaW5nIGlzIHRoZSBhbW91bnQgb2Ygc3BhY2UgdGFrZW4gdXAgYnkgYWxsIHRoZSB0 b29sYmFycwpldGMuIFRoZXkgZG9uJ3Qgc2VlbSB0byBoYXZlIHRoZSBjYXBhYmlsaXR5IG9mIGJl aW5nIHJlbW92ZWQgYXMgaW4KTW96aWxsYS4gVGhleSBhcmUgb2J2aW91c2x5IGhhbmR5IHdoZW4g c2V0dGluZyB1cCBhIGZpbGUgYnV0IHRoZW4gSQpmaW5kIEkgYW0gbW9zdGx5IHdyaXRpbmcgb3Ig ZW50ZXJpbmcgZGF0YSBhbmQgZG9uJ3QgbmVlZCB0aGVtIGF0IGFsbC4KR251bWVyaWMgaXMgcHJv YmFibHkgdGhlIHdvcnN0IHByb2dyYW0gZm9yIHRoaXMuIElzIHRoZXJlIGEgcHJlZmVyZW5jZQpv cHRpb24gSSBoYXZlbid0IHNlZW4/ClNvcnJ5IGlmIHRoZSBhYm92ZSBpcyBhIGRpc3BsYXkgb2Yg aWdub3JhbmNlLgpZb3UgY2FuIHRlbGwgd2hhdCBJIHVzZSBvbiBteSBzeXN0ZW0gYWxsIHRoZSB0 aW1lIHRob3VnaCA6KQoKQ2hlZXJzCkphbWVzCg== From sinzui.is@verizon.net Mon Jun 9 12:45:55 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id AE42A750211 for ; Mon, 9 Jun 2008 12:45:55 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.358 X-Spam-Level: X-Spam-Status: No, score=-1.358 tagged_above=-999 required=2 tests=[AWL=-0.173, BAYES_40=-0.185, L_P0F_Unix=-1] X-Amavis-OS-Fingerprint: Solaris 10 (1203?) (up: 258 hrs), (distance 16, link: ethernet/modem), [206.46.173.5] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sV6dYI9navtE for ; Mon, 9 Jun 2008 12:45:50 +0000 (GMT) Received: from vms173005pub.verizon.net (vms173005pub.verizon.net [206.46.173.5]) by menubar.gnome.org (Postfix) with ESMTP id 7BD19750240 for ; Mon, 9 Jun 2008 12:45:46 +0000 (GMT) Received: from [192.168.1.47] ([70.17.81.211]) by vms173005.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K27006ND4H6ULXL@vms173005.mailsrvcs.net> for gedit-list@gnome.org; Mon, 09 Jun 2008 07:39:07 -0500 (CDT) Date: Mon, 09 Jun 2008 08:45:46 -0400 From: Curtis Hovey In-reply-to: To: James Hunt Message-id: <1213015546.6410.15.camel@localhost> Organization: i MIME-version: 1.0 X-Mailer: Evolution 2.22.2 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-YRK8OFnly95tOny4gW+C" References: Cc: gedit-list@gnome.org Subject: Re: [gedit-list] A bug? and a minor problem X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list Reply-To: sinzui.is@verizon.net List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2008 12:45:55 -0000 --=-YRK8OFnly95tOny4gW+C Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sun, 2008-06-08 at 12:42 +0900, James Hunt wrote: > Hello, > I was wondering if the fact that I can't cut and paste a piece of text > from a gedit created file to something like Mozilla or Abiword and > maintain the layout is a bug or not. It is a nuisance though. > I am using a stock gedit from Debian Sarge with Mozilla and > Abiword2.2.7 from the same distro. I do some writing in Hangeul=ED=95=9C= =EA=B8=80 > (Korean) and it seems the tab spacings are the main problem. This is not a bug. The tabs and spacing change because the font is different between Gedit and the application you pasted the text into. Gedit using monospaced fonts by default because those fonts show system and code files consistently. Applications like Abiword use proportional fonts that look very nice in most cases, but have irregular spacing. Some applications permit you to format part of the text. For example, you can select the pasted text in Abiword and change the font to the same font used by Gedit to preserve the presentation. > The other thing is the amount of space taken up by all the toolbars > etc. They don't seem to have the capability of being removed as in > Mozilla. They are obviously handy when setting up a file but then I > find I am mostly writing or entering data and don't need them at all. > Gnumeric is probably the worst program for this. Is there a preference > option I haven't seen? I turned my Gedit toolbar off but deselecting Menu > View > [ ] toolbar. > Sorry if the above is a display of ignorance. > You can tell what I use on my system all the time though :) >=20 > Cheers > James > _______________________________________________ > gedit-list mailing list > gedit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gedit-list --=20 __C U R T I S C. H O V E Y_______ Guilty of stealing everything I am. --=-YRK8OFnly95tOny4gW+C Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBITSX5nGlTRlchMn0RArAXAJ9q7LTKM8EMp0dGFEdfNSn3Y90osgCeMCvB aMd0r/HQT3HgNNl0+7qbEuw= =kELr -----END PGP SIGNATURE----- --=-YRK8OFnly95tOny4gW+C-- From chuchiperriman@gmail.com Wed Jun 11 22:17:41 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E488475002F for ; Wed, 11 Jun 2008 22:17:41 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 9277 hrs), (distance 16, link: (Google 2)), [66.249.92.170] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aNEeyqI4Rsq1 for ; Wed, 11 Jun 2008 22:17:13 +0000 (GMT) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by menubar.gnome.org (Postfix) with ESMTP id A237675007C for ; Wed, 11 Jun 2008 22:17:12 +0000 (GMT) Received: by ug-out-1314.google.com with SMTP id s2so231376uge.30 for ; Wed, 11 Jun 2008 15:17:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=r3q2t99ksAmA3UYCd5tHCiymWH4HiEQHGeUKJls4pGs=; b=oVw234qGroblt6xOaPGFvSzjfzf4yElUQDF2AZxDkkoqW+Yc3kRGGsT5ck67bpwZjO gWcsM14vQTgvf5T0P/Ae/+A63JcVRQazk38/eXxbGfyuiGAkDF4VTd7xsOHHZ0c6bU1j CGhboBj3yKuUbziGg3drTAFJe9MQgPmDOP4i0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; b=VGVCyDsMITtqmtUEdKP1mVS6ydREzfFEFt/GW3d9LstfBxV5N5pIOLWH8pe4YCEh3T 1iNTTIzQZgp/n5HHdhKqbUqI1SJXb9nAAsruVAzLp5bPZGus9BcJojWUI+hRBr8PZocu IkvFAKq9xJYnm6izJgxKq35Q3IHcPiNTvAFA0= Received: by 10.210.43.11 with SMTP id q11mr307319ebq.196.1213222630666; Wed, 11 Jun 2008 15:17:10 -0700 (PDT) Received: from homer ( [80.28.0.3]) by mx.google.com with ESMTPS id i6sm843528gve.4.2008.06.11.15.17.08 (version=SSLv3 cipher=RC4-MD5); Wed, 11 Jun 2008 15:17:09 -0700 (PDT) Date: Thu, 12 Jun 2008 00:17:03 +0200 From: Perriman To: gedit-list Message-ID: <20080612001703.7a9543cc@homer> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gedit-list] OffTopic X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2008 22:17:42 -0000 Hi all, I'm writting an in-place variables replacement for GtkSnippets but I'm getting some problems with GtkTextView. I connect the parser to GtkTextBuffer "insert-text" signal (connect_after) then I get the inserted text and I try to replace all variables with the same name with this text. When I do this, I get an error, I cannot insert text into the buffer in that moment. Perhaps I may handle the user interaction in another signal or there is some tip to modify the buffer in this signal... Can you help me? Regards, Perriman From brunoksol@yahoo.com.br Thu Jun 12 03:13:53 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4FD3D7500AC for ; Thu, 12 Jun 2008 03:13:53 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -0.847 X-Spam-Level: X-Spam-Status: No, score=-0.847 tagged_above=-999 required=2 tests=[BAYES_50=0.001, L_P0F_Unix=-1, SARE_SUB_ENC_UTF8=0.152] X-Amavis-OS-Fingerprint: FreeBSD 6.x (1) (up: 2695 hrs), (distance 10, link: ethernet/modem), [98.136.44.36] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yI-yKh3e4ngE for ; Thu, 12 Jun 2008 03:13:45 +0000 (GMT) Received: from n71.bullet.mail.sp1.yahoo.com (n71.bullet.mail.sp1.yahoo.com [98.136.44.36]) by menubar.gnome.org (Postfix) with SMTP id A1EC9750008 for ; Thu, 12 Jun 2008 03:13:45 +0000 (GMT) Received: from [216.252.122.219] by n71.bullet.mail.sp1.yahoo.com with NNFMP; 12 Jun 2008 03:13:44 -0000 Received: from [68.142.200.221] by t4.bullet.sp1.yahoo.com with NNFMP; 12 Jun 2008 03:13:44 -0000 Received: from [68.142.201.71] by t9.bullet.mud.yahoo.com with NNFMP; 12 Jun 2008 03:13:44 -0000 Received: from [127.0.0.1] by omp423.mail.mud.yahoo.com with NNFMP; 12 Jun 2008 03:13:44 -0000 X-Yahoo-Newman-Id: 1815.37135.bm@omp423.mail.mud.yahoo.com Received: (qmail 55333 invoked from network); 12 Jun 2008 03:13:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Subject:From:To:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=S8TjS8jtcDHTy36OU5uAGCB3MRelgoBMmrn9Bi2rQgSC+PWNuEGHUdCMU9RWU3dZ+lBetzv+ordikbVyUcLPN69yrDi6NyfQjDv4A989MjzEqEr5Ac/UTJ83YzrwIJj5sk3DWazsJ6mHEKFmruq/iB4ddiWzv/x7P4Mt3prq14g= ; Received: from unknown (HELO ?10.1.1.3?) (brunoksol@200.103.92.12 with plain) by smtp115.plus.mail.mud.yahoo.com with SMTP; 12 Jun 2008 03:13:42 -0000 X-YMail-OSG: FBDEn0UVM1nQkvtNQVZC4RU9lZUviYmzEBH3VWmXFtHZgUBpMnYZ7ru9s.WNgGYo1P2t66yT8pYLB.z84DCzQ_xPFq6.mp.tnaSxvZrg7KfJWV5kbpVsC0PfT1N6emsBdpg- X-Yahoo-Newman-Property: ymail-3 From: Bruno Cassol To: gedit-list@gnome.org Content-Type: text/plain Date: Wed, 11 Jun 2008 23:13:39 -0400 Message-Id: <1213240419.8172.4.camel@bruno-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 16 Jun 2008 08:37:42 +0000 Subject: [gedit-list] gEdit and BOM mark in UTF-8 files X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2008 03:13:53 -0000 Hi all. I use gEdit on work. I (and probably all PHP developers) need it to have an option to remove BOM mark when saving UTF-8 files. I hope it's not a complicated thing to do. Thanks for attention. Keep up the hard and honored work. Bruno Cassol From jesse@icecrew.nl Mon Jun 16 09:08:08 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 27887750319 for ; Mon, 16 Jun 2008 09:08:08 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 0.044 X-Spam-Level: X-Spam-Status: No, score=0.044 tagged_above=-999 required=2 tests=[BAYES_40=-0.185, SARE_SUB_ENC_UTF8=0.152, TW_GT=0.077] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id adbgdeWp9e90 for ; Mon, 16 Jun 2008 09:08:00 +0000 (GMT) Received: from novowork.com (novowork.com [87.230.85.62]) by menubar.gnome.org (Postfix) with ESMTP id E7796750474 for ; Mon, 16 Jun 2008 08:56:07 +0000 (GMT) Received: from [192.168.1.12] (s5591931c.adsl.wanadoo.nl [85.145.147.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by novowork.com (Postfix) with ESMTP id 697DB3670002; Mon, 16 Jun 2008 10:56:05 +0200 (CEST) From: Jesse van den Kieboom To: Bruno Cassol In-Reply-To: <1213240419.8172.4.camel@bruno-laptop> References: <1213240419.8172.4.camel@bruno-laptop> Content-Type: text/plain; charset=utf-8 Date: Mon, 16 Jun 2008 10:56:04 +0200 Message-Id: <1213606564.6607.3.camel@wren> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Content-Transfer-Encoding: 8bit Cc: gedit-list@gnome.org Subject: Re: [gedit-list] gEdit and BOM mark in UTF-8 files X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2008 09:08:08 -0000 Hi Bruno, I must say that I never had any trouble with this (using gedit for developing PHP daily). The only way to fix your problem in an automatic way is to write a small plugin, which removes the mark either on save, or on load (I'm not really sure who inserts the mark, is it already there, or does gtk insert it?) Jesse Op woensdag 11-06-2008 om 23:13 uur [tijdzone -0400], schreef Bruno Cassol: > Hi all. I use gEdit on work. I (and probably all PHP developers) need it > to have an option to remove BOM mark when saving UTF-8 files. I hope > it's not a complicated thing to do. > > Thanks for attention. > Keep up the hard and honored work. > > Bruno Cassol > > > _______________________________________________ > gedit-list mailing list > gedit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gedit-list > -- Jesse van den Kieboom Personal: http://www.icecrew.nl Professional: http://www.novowork.com From jesse@icecrew.nl Mon Jun 16 09:15:08 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6F3A3750132 for ; Mon, 16 Jun 2008 09:15:08 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 0.044 X-Spam-Level: X-Spam-Status: No, score=0.044 tagged_above=-999 required=2 tests=[BAYES_40=-0.185, SARE_SUB_ENC_UTF8=0.152, TW_GT=0.077] X-Amavis-OS-Fingerprint: Linux 2.6, seldom 2.4 (older, 4) (up: 5755 hrs), (distance 19, link: ethernet/modem), [87.230.85.62] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y-nnj38MK2vy for ; Mon, 16 Jun 2008 09:15:01 +0000 (GMT) Received: from novowork.com (novowork.com [87.230.85.62]) by menubar.gnome.org (Postfix) with ESMTP id BC54F7500CB for ; Mon, 16 Jun 2008 09:11:16 +0000 (GMT) Received: from [192.168.1.12] (s5591931c.adsl.wanadoo.nl [85.145.147.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by novowork.com (Postfix) with ESMTP id CB4173670002; Mon, 16 Jun 2008 11:11:14 +0200 (CEST) From: Jesse van den Kieboom To: Bruno Cassol In-Reply-To: <1213606564.6607.3.camel@wren> References: <1213240419.8172.4.camel@bruno-laptop> <1213606564.6607.3.camel@wren> Content-Type: text/plain; charset=utf-8 Date: Mon, 16 Jun 2008 11:11:14 +0200 Message-Id: <1213607474.6607.5.camel@wren> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Content-Transfer-Encoding: 8bit Cc: gedit-list@gnome.org Subject: Re: [gedit-list] gEdit and BOM mark in UTF-8 files X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2008 09:15:08 -0000 I checked, but on my system, gedit doesn't add the BOM mark on its own, so it's probably already present in the file? You could try to simply preprocess all your files? (Don't know the exact situation your in of course). Jesse Op maandag 16-06-2008 om 10:56 uur [tijdzone +0200], schreef Jesse van den Kieboom: > Hi Bruno, > > I must say that I never had any trouble with this (using gedit for > developing PHP daily). The only way to fix your problem in an automatic > way is to write a small plugin, which removes the mark either on save, > or on load (I'm not really sure who inserts the mark, is it already > there, or does gtk insert it?) > > > Jesse > > Op woensdag 11-06-2008 om 23:13 uur [tijdzone -0400], schreef Bruno > Cassol: > > Hi all. I use gEdit on work. I (and probably all PHP developers) need it > > to have an option to remove BOM mark when saving UTF-8 files. I hope > > it's not a complicated thing to do. > > > > Thanks for attention. > > Keep up the hard and honored work. > > > > Bruno Cassol > > > > > > _______________________________________________ > > gedit-list mailing list > > gedit-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gedit-list > > -- Jesse van den Kieboom Personal: http://www.icecrew.nl Professional: http://www.novowork.com From nlmdejonge@telfort.nl Sat Jun 21 10:15:52 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A6EF9750208 for ; Sat, 21 Jun 2008 10:15:52 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 0.801 X-Spam-Level: X-Spam-Status: No, score=0.801 tagged_above=-999 required=2 tests=[BAYES_50=0.001, L_P0F_UNKN=0.8] X-Amavis-OS-Fingerprint: UNKNOWN [S4:49:1:48:M1460,N,W5:.:?:?], (link: ethernet/modem), [195.241.79.175] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DYn3Ownc3K9G for ; Sat, 21 Jun 2008 10:15:47 +0000 (GMT) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by menubar.gnome.org (Postfix) with ESMTP id E4A507500BE for ; Sat, 21 Jun 2008 10:15:44 +0000 (GMT) Received: from [82.171.70.54] (helo=ren.local) by smtp-out0.tiscali.nl with esmtp id 1KA08E-0003rR-Ip; Sat, 21 Jun 2008 12:15:42 +0200 From: "N.L.M. de Jonge" To: gedit-list@gnome.org Content-Type: text/plain Date: Sat, 21 Jun 2008 12:11:05 +0200 Message-Id: <1214043065.10444.4.camel@ren.ren> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 23 Jun 2008 08:59:18 +0000 Subject: [gedit-list] request X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jun 2008 10:15:52 -0000 Hi there, I have a feature request for gedit, that I think shouldn't be too hard to implement and would be really useful to some people. Sometimes when I - as it turns out, a friend of mine has had the same experience - try to save a text in a non-UTF-8 encoding, like Western (ISO-8859-15), gedit tells me: "Could not save the file ... using Western (ISO-8859-15) character coding." This is because the document contains one or more characters that cannot be encoded using the specified character coding. My (our) request: in those situations, can you please highlight all the characters that cannot be encoded? (In yellow, similarly to how this happens when searching for text fragments.) Thanks a lot in advance. Kind regards, Norbert From tstern@sdicorporation.com Sun Jun 22 20:08:37 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1F168750060 for ; Sun, 22 Jun 2008 20:08:37 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 0.101 X-Spam-Level: X-Spam-Status: No, score=0.101 tagged_above=-999 required=2 tests=[BAYES_50=0.001, RDNS_NONE=0.1] X-Amavis-OS-Fingerprint: Linux 2.6, seldom 2.4 (older, 4) (up: 2927 hrs), (distance 16, link: ethernet/modem), [205.232.66.45] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LEeCIX88m8lk for ; Sun, 22 Jun 2008 20:08:32 +0000 (GMT) Received: from sdicorporation-r.com (unknown [205.232.66.45]) by menubar.gnome.org (Postfix) with SMTP id 505847500E1 for ; Sun, 22 Jun 2008 20:08:31 +0000 (GMT) Received: (qmail 28414 invoked by uid 453); 22 Jun 2008 20:08:29 -0000 X-Virus-Checked: Checked by ClamAV on sdicorporation-r.com Received: from pc-00161.sdicorporation-r.com (HELO [192.168.3.161]) (192.168.3.161) by sdicorporation-r.com (qpsmtpd/0.40) with ESMTP; Sun, 22 Jun 2008 16:08:29 -0400 From: Trampas Stern To: gedit-list@gnome.org Content-Type: text/plain Date: Sun, 22 Jun 2008 16:08:30 -0400 Message-Id: <1214165310.17001.1.camel@tstern-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 23 Jun 2008 08:59:18 +0000 Subject: [gedit-list] double click word selection X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 20:08:37 -0000 Is there way to make gedit highlight/select a word which has an underscore when double clicking on it? For example the following will highlight one or two but not one_two. Thanks Trampas From sinzui.is@verizon.net Mon Jun 23 12:47:42 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id B6761750008 for ; Mon, 23 Jun 2008 12:47:42 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.356 X-Spam-Level: X-Spam-Status: No, score=-1.356 tagged_above=-999 required=2 tests=[AWL=-0.171, BAYES_40=-0.185, L_P0F_Unix=-1] X-Amavis-OS-Fingerprint: Solaris 9.1 (up: 594 hrs), (distance 16, link: ethernet/modem), [206.46.252.42] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZpncjoYIbfge for ; Mon, 23 Jun 2008 12:47:35 +0000 (GMT) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by menubar.gnome.org (Postfix) with ESMTP id 473817500A5 for ; Mon, 23 Jun 2008 12:47:34 +0000 (GMT) Received: from [192.168.1.47] ([70.17.66.19]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K2X009B5271SRI7@vms042.mailsrvcs.net> for gedit-list@gnome.org; Mon, 23 Jun 2008 07:47:26 -0500 (CDT) Date: Mon, 23 Jun 2008 08:47:27 -0400 From: Curtis Hovey In-reply-to: <1214165310.17001.1.camel@tstern-laptop> To: Trampas Stern Message-id: <1214225247.6655.4.camel@localhost> Organization: i MIME-version: 1.0 X-Mailer: Evolution 2.22.2 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-9fJSNf5D7AxAgtD5zb08" References: <1214165310.17001.1.camel@tstern-laptop> Cc: gedit-list@gnome.org Subject: Re: [gedit-list] double click word selection X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list Reply-To: sinzui.is@verizon.net List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 12:47:42 -0000 --=-9fJSNf5D7AxAgtD5zb08 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2008-06-22 at 16:08 -0400, Trampas Stern wrote: > Is there way to make gedit highlight/select a word which has an > underscore when double clicking on it?=20 >=20 > For example the following will highlight one or two but not one_two.=20 I think you are describing bug 500515 http://bugzilla.gnome.org/show_bug.cgi?id=3D500515 I believe the problem is in GtkTextBuffer, though the bet place to fix this is in GtkSourceView. http://mail.gnome.org/archives/gedit-list/2007-November/msg00035.html --=20 __C U R T I S C. H O V E Y_______ Guilty of stealing everything I am. --=-9fJSNf5D7AxAgtD5zb08 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIX5tfnGlTRlchMn0RAh1bAKCepPTLXNj+8nANn8xALEzQdC2eVQCg1Z/I a4UxmCa17ZPmB25x5TdFR3U= =DZP9 -----END PGP SIGNATURE----- --=-9fJSNf5D7AxAgtD5zb08-- From nevare.stark@gmail.com Wed Jun 25 18:49:45 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 338437500A6 for ; Wed, 25 Jun 2008 18:49:45 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.444 X-Spam-Level: X-Spam-Status: No, score=-2.444 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, TW_GD=0.077, TW_GT=0.077] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 1758 hrs), (distance 13, link: (Google 2)), [209.85.200.173] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0rYotFX06g1o for ; Wed, 25 Jun 2008 18:49:40 +0000 (GMT) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by menubar.gnome.org (Postfix) with ESMTP id 43765750006 for ; Wed, 25 Jun 2008 18:49:39 +0000 (GMT) Received: by wf-out-1314.google.com with SMTP id 23so3082249wfg.9 for ; Wed, 25 Jun 2008 11:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:x-google-sender-auth; bh=dyIqiut7L+qsEeZY+4cshEGi6B2OGqDSRCDXhon8w2U=; b=s75PL09pqZ89FF25+ILNaiiLf8r3rotzV1QQGKoEF1fyeaqti6cJMkfthZdUcsF2oH OJB4V7s2JxMfl9BBGkYo02p915yalFto9y8vIK/7BW3hSX1STvu6hDx+EOBvLuUKBYrv z6IF8NRLHEw5CnEwoiavy9Y8YJept7+i6mpYI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :x-google-sender-auth; b=dFTUjlw3oQYag2tx0i9qz1FJdUf7IjUi0f5kj1Rt0XnOaoA8jiecoeV7ELPrB1JCZc p++05aa9ozVZITHdtjSE4/L9SwgJVwSlpQsRsR5/kz71FMqJlx5BDGWagovvQfm29XCh juhzAgkK7m+GLCdKlapUcNb6TALy15gPLk0pw= Received: by 10.142.211.10 with SMTP id j10mr7098939wfg.163.1214419778437; Wed, 25 Jun 2008 11:49:38 -0700 (PDT) Received: by 10.142.100.16 with HTTP; Wed, 25 Jun 2008 11:49:38 -0700 (PDT) Message-ID: Date: Wed, 25 Jun 2008 20:49:38 +0200 From: "Olivier Lauzanne" Sender: nevare.stark@gmail.com To: gedit-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_23793_24987598.1214419778400" X-Google-Sender-Auth: 74796697ed380c16 Subject: [gedit-list] Smart indentation for python code X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 18:49:45 -0000 ------=_Part_23793_24987598.1214419778400 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello ! I made a gedit pluging to add a smart indentation while writing python conde: The code is indented when the previous line ends with ':' and un-indented if the previous line starts with 'return', 'pass', 'continue' or 'break'. This plugin will use your tab configuration for indentation. To respect PEP8 you should set tab width to 4 and choose to insert spaces instead of tabs. It works alright except for a random bug with undos that sometimes don't work. (gedit:7878): GtkSourceView-CRITICAL **: gtk_source_undo_manager_modified_changed_handler: assertion `action != NULL' failed (gedit:7878): GtkSourceView-CRITICAL **: gtk_source_undo_manager_undo: assertion `undo_action != NULL' failed Any of you have an idea where it comes from ? Here is the source code of my plugin. # -*- coding: utf-8 -*- # Copyright (C) 2008 - Olivier Lauzanne # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. """Gedit Plugin : smart indentation for python code The code is indented when the previous line ends with ':' and un-indented if the previous line starts with 'return', 'pass', 'continue' or 'break'. This plugin will use your tab configuration for indentation. To respect PEP8 you should set tab width to 4 and choose to insert spaces instead of tabs. TODO : UNDO BUG """ from gtk import gdk import gedit class Plugin(gedit.Plugin): """The python indentation plugin""" def activate(self, window): self.views = {} def desactivate(self, window): """Disconnect all signals. """ for view, signal in self.views.items(): view.disconnect(signal) def update_ui(self, window): """Connect the key-press-event signal of the current view to the on_key_press method. """ buffer = window.get_active_document() view = window.get_active_view() if buffer == None or view == None: return language = buffer.get_language() if language == None: return if language.get_name() == 'Python' and view not in self.views: self.views[view] = (view.connect('key-press-event', self.on_key_press, buffer)) def on_key_press(self, view, event, buffer): """Check if the key press is 'Return' or 'Backspace' and indent or un-indent accordingly. """ key_name = gdk.keyval_name(event.keyval) if key_name not in ('Return', 'Backspace') or \ len(buffer.get_selection_bounds()) != 0: # If some text is selected we want the default behavior of Return # and Backspace so we do nothing return if view.get_insert_spaces_instead_of_tabs(): self.indent = ' ' * view.props.tab_width else: self.indent = '\t' if key_name == 'Return': line = self._get_current_line(buffer) if line.endswith(':'): old_indent = line[:len(line) - len(line.lstrip())] buffer.insert_at_cursor('\n' + old_indent + self.indent) return True else: stripped_line = line.strip() n = len(line) - len(line.lstrip()) if (stripped_line.startswith('return') or stripped_line.startswith('break') or stripped_line.startswith('continue') or stripped_line.startswith('pass')): n -= len(self.indent) buffer.insert_at_cursor('\n' + line[:n]) self._scroll_to_cursor(buffer, view) return True if key_name == 'BackSpace': line = self._get_current_line(buffer) if line.strip() == '' and line != '': length = len(self.indent) nb_to_delete = len(line) % length or length self._delete_before_cursor(buffer, nb_to_delete) self._scroll_to_cursor(buffer, view) return True def _delete_before_cursor(self, buffer, nb_to_delete): cursor_position = buffer.get_property('cursor-position') iter_cursor = buffer.get_iter_at_offset(cursor_position) iter_before = buffer.get_iter_at_offset(cursor_position - nb_to_delete) buffer.delete(iter_before, iter_cursor) def _get_current_line(self, buffer): iter_cursor = self._get_iter_cursor(buffer) iter_line = buffer.get_iter_at_line(iter_cursor.get_line()) return buffer.get_text(iter_line, iter_cursor) def _get_current_line_nb(self, buffer): iter_cursor = self._get_iter_cursor(buffer) return iter_cursor.get_line() def _get_iter_cursor(self, buffer): cursor_position = buffer.get_property('cursor-position') return buffer.get_iter_at_offset(cursor_position) def _scroll_to_cursor(self, buffer, view): lineno = self._get_current_line_nb(buffer) + 1 insert = buffer.get_insert() view.scroll_mark_onscreen(insert) ------=_Part_23793_24987598.1214419778400 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello !

I made a gedit pluging to add a smart indentation while writing python conde:

The code is indented when the previous line ends with ':' and un-indented if
the previous line starts with 'return', 'pass', 'continue' or 'break'. This
plugin will use your tab configuration for indentation. To respect PEP8 you
should set tab width to 4 and choose to insert spaces instead of tabs.


It works alright except for a random bug with undos that sometimes don't work.
(gedit:7878): GtkSourceView-CRITICAL **: gtk_source_undo_manager_modified_changed_handler: assertion `action != NULL' failed

(gedit:7878): GtkSourceView-CRITICAL **: gtk_source_undo_manager_undo: assertion `undo_action != NULL' failed

Any of you have an idea where it comes from ?

Here is the source code of my plugin.

# -*- coding: utf-8 -*-
# Copyright (C) 2008 - Olivier Lauzanne
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

"""Gedit Plugin : smart indentation for python code

The code is indented when the previous line ends with ':' and un-indented if
the previous line starts with 'return', 'pass', 'continue' or 'break'. This
plugin will use your tab configuration for indentation. To respect PEP8 you
should set tab width to 4 and choose to insert spaces instead of tabs.

TODO : UNDO BUG
"""

from gtk import gdk
import gedit

class Plugin(gedit.Plugin):
    """The python indentation plugin"""

    def activate(self, window):
        self.views = {}

    def desactivate(self, window):
        """Disconnect all signals.
        """
        for view, signal in self.views.items():
            view.disconnect(signal)

    def update_ui(self, window):
        """Connect the key-press-event signal of the current view to the
        on_key_press method.
        """
        buffer = window.get_active_document()
        view = window.get_active_view()

        if buffer == None or view == None:
            return

        language = buffer.get_language()
        if language == None:
            return

        if language.get_name() == 'Python' and view not in self.views:
            self.views[view] = (view.connect('key-press-event',
                                self.on_key_press, buffer))

    def on_key_press(self, view, event, buffer):
        """Check if the key press is 'Return' or 'Backspace' and indent or
        un-indent accordingly.
        """
        key_name = gdk.keyval_name(event.keyval)
        if key_name not in ('Return', 'Backspace') or \
           len(buffer.get_selection_bounds()) != 0:
            # If some text is selected we want the default behavior of Return
            # and Backspace so we do nothing
            return

        if view.get_insert_spaces_instead_of_tabs():
            self.indent = ' ' * view.props.tab_width
        else:
            self.indent = '\t'

        if key_name == 'Return':
            line = self._get_current_line(buffer)

            if line.endswith(':'):
                old_indent = line[:len(line) - len(line.lstrip())]
                buffer.insert_at_cursor('\n' + old_indent + self.indent)
                return True

            else:
                stripped_line = line.strip()
                n = len(line) - len(line.lstrip())
                if (stripped_line.startswith('return')
                    or stripped_line.startswith('break')
                    or stripped_line.startswith('continue')
                    or stripped_line.startswith('pass')):
                    n -= len(self.indent)

                buffer.insert_at_cursor('\n' + line[:n])
                self._scroll_to_cursor(buffer, view)
                return True

        if key_name == 'BackSpace':
            line = self._get_current_line(buffer)

            if line.strip() == '' and line != '':
                length = len(self.indent)
                nb_to_delete = len(line) % length or length
                self._delete_before_cursor(buffer, nb_to_delete)
                self._scroll_to_cursor(buffer, view)
                return True

    def _delete_before_cursor(self, buffer, nb_to_delete):
        cursor_position = buffer.get_property('cursor-position')
        iter_cursor = buffer.get_iter_at_offset(cursor_position)
        iter_before = buffer.get_iter_at_offset(cursor_position - nb_to_delete)
        buffer.delete(iter_before, iter_cursor)

    def _get_current_line(self, buffer):
        iter_cursor = self._get_iter_cursor(buffer)
        iter_line = buffer.get_iter_at_line(iter_cursor.get_line())
        return buffer.get_text(iter_line, iter_cursor)

    def _get_current_line_nb(self, buffer):
        iter_cursor = self._get_iter_cursor(buffer)
        return iter_cursor.get_line()

    def _get_iter_cursor(self, buffer):
        cursor_position = buffer.get_property('cursor-position')
        return buffer.get_iter_at_offset(cursor_position)

    def _scroll_to_cursor(self, buffer, view):
        lineno = self._get_current_line_nb(buffer) + 1
        insert = buffer.get_insert()
        view.scroll_mark_onscreen(insert)


------=_Part_23793_24987598.1214419778400-- From bart@neeneenee.de Thu Jun 26 13:07:04 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id AFCB175000B for ; Thu, 26 Jun 2008 13:07:04 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 0.002 X-Spam-Level: X-Spam-Status: No, score=0.002 tagged_above=-999 required=2 tests=[BAYES_50=0.001, HTML_MESSAGE=0.001] X-Amavis-OS-Fingerprint: Linux 2.6, seldom 2.4 (older, 4) (up: 5175 hrs), (distance 21, link: ethernet/modem), [85.25.130.135] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lTyDME6-M0Uo for ; Thu, 26 Jun 2008 13:06:55 +0000 (GMT) Received: from alpha670.server4you.de (alpha670.server4you.de [85.25.130.135]) by menubar.gnome.org (Postfix) with ESMTP id 98DC87500A6 for ; Thu, 26 Jun 2008 13:06:55 +0000 (GMT) Received: from [192.168.4.113] (e179071111.adsl.alicedsl.de [85.179.71.111]) by alpha670.server4you.de (Postfix) with ESMTP id A9C60134013B for ; Thu, 26 Jun 2008 15:06:53 +0200 (CEST) From: "Eckhard M." =?ISO-8859-1?Q?J=E4ger?= To: gedit-list@gnome.org Content-Type: multipart/alternative; boundary="=-mEXhK5jdvMYJUoIKXbOt" Date: Thu, 26 Jun 2008 15:06:53 +0200 Message-Id: <1214485613.7337.124.camel@ElBarto> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Subject: [gedit-list] Getting the actual word or selection X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list Reply-To: bart@neeneenee.de List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 13:07:04 -0000 --=-mEXhK5jdvMYJUoIKXbOt Content-Type: text/plain Content-Transfer-Encoding: 7bit Hello, i developed several plugins for gEdit and i like to update now my Language Reference plugin to support new features of Evince: http://my.opera.com/area42/blog/gedit-language-reference-plugin For that I'd like to get the actual selected words or the word where the cursor is located. I didn't know how to get it. Please, can someone tell me how? Thanx. ___/\_______________________________________________________________________ Ich darf keine Kurven schneiden. |\/\/\/| | | Bart. | (O)(O) bart@neeneenee.de C _) | ,_/ Linux for Designers - http://my.opera.com/area42/blog/ | / SweeTS delicious Typo3 development - http://typo3.area42.de/ / \ --=-mEXhK5jdvMYJUoIKXbOt Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
Hello,

i developed several plugins for gEdit and i like to update now my Language Reference plugin
to support new features of Evince:
http://my.opera.com/area42/blog/gedit-language-reference-plugin

For that I'd like to get the actual selected words or the word where the cursor is located.
I didn't know how to get it. Please, can someone tell me how?

Thanx.


___/\_______________________________________________________________________

Ich darf keine Kurven schneiden.

|\/\/\/| 
|      |        Bart.
| (O)(O)        bart@neeneenee.de
C      _) 
|   ,_/         Linux for Designers - http://my.opera.com/area42/blog/
|   /           SweeTS delicious Typo3 development - http://typo3.area42.de/
/   \ 

--=-mEXhK5jdvMYJUoIKXbOt-- From sinzui.is@verizon.net Thu Jun 26 23:08:26 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6BBEC750170 for ; Thu, 26 Jun 2008 23:08:26 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.034 X-Spam-Level: X-Spam-Status: No, score=-1.034 tagged_above=-999 required=2 tests=[AWL=-0.035, BAYES_50=0.001, L_P0F_Unix=-1] X-Amavis-OS-Fingerprint: Solaris 10 (1203?) (up: 676 hrs), (distance 16, link: ethernet/modem), [206.46.173.3] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bM-Ci6KUuiV5 for ; Thu, 26 Jun 2008 23:08:18 +0000 (GMT) Received: from vms173003pub.verizon.net (vms173003pub.verizon.net [206.46.173.3]) by menubar.gnome.org (Postfix) with ESMTP id 5162A75008C for ; Thu, 26 Jun 2008 23:08:15 +0000 (GMT) Received: from [192.168.1.47] ([70.18.228.121]) by vms173003.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K3300FRLEXLLOG3@vms173003.mailsrvcs.net> for gedit-list@gnome.org; Thu, 26 Jun 2008 18:08:10 -0500 (CDT) Date: Thu, 26 Jun 2008 19:08:20 -0400 From: Curtis Hovey In-reply-to: <1214485613.7337.124.camel@ElBarto> To: bart@neeneenee.de Message-id: <1214521700.8022.30.camel@localhost> Organization: i MIME-version: 1.0 X-Mailer: Evolution 2.22.2 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-hJ/Az0Y05QTUk6dqoxCA" References: <1214485613.7337.124.camel@ElBarto> Cc: gedit-list@gnome.org Subject: Re: [gedit-list] Getting the actual word or selection X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list Reply-To: sinzui.is@verizon.net List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 23:08:26 -0000 --=-hJ/Az0Y05QTUk6dqoxCA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Eckhard. On Thu, 2008-06-26 at 15:06 +0200, Eckhard M. J=C3=A4ger wrote: > i developed several plugins for gEdit and i like to update now my > Language Reference plugin=20 > to support new features of Evince: > http://my.opera.com/area42/blog/gedit-language-reference-plugin >=20 > For that I'd like to get the actual selected words or the word where > the cursor is located.=20 > I didn't know how to get it. Please, can someone tell me how? Here is a rough doctest that illustrates how to work with the cursor, and how to get the selected text (which is just two lines of code) To work with the text of a Gedit.Document, you need to use the API of the underlying object, the GtkTextBuffer. Assuming the user selects [The text I selected] from this paragraph. The plugin can get the document from the window or view: >>> document =3D window.get_active_document() >>> document The cursor at the insert 'mark' in the GtkTextBuffer. >>> cursor_iter =3D document.get_iter_at_mark(document.get_insert()) >>> cursor_iter.get_offset() 159 The cursor_iter can be moved forwards an backwards. True or False is returned upon success. >>> cursor_iter.forward_cursor_position() True >>> cursor_iter.get_offset() 160 >>> cursor_iter.forward_cursor_position(3) True >>> cursor_iter.get_offset() 163 >>> cursor_iter.backward_cursor_position() True >>> cursor_iter.get_offset() 162 >>> cursor_iter.backward_cursor_positions(3) >>> cursor_iter.get_offset() 159 The current selection can be retrieved using get_selection_bounds(). >>> (start_iter, end_iter) =3D document.get_selection_bounds() >>> selected_text =3D document.get_text(start_iter, end_iter) >>> selected_text 'The text I selected' --=20 __C U R T I S C. H O V E Y_______ Guilty of stealing everything I am. --=-hJ/Az0Y05QTUk6dqoxCA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIZCFknGlTRlchMn0RAhMAAJ9WWc5LwzOh+FDYhWg8qUjOQWJ05gCgrKeD ShxV862nGrSYdvKtlvSE7pk= =t0Yk -----END PGP SIGNATURE----- --=-hJ/Az0Y05QTUk6dqoxCA-- From nudrema@gmail.com Sat Jun 28 15:09:40 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 5EB8375019A for ; Sat, 28 Jun 2008 15:09:40 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 2485 hrs), (distance 16, link: (Google 2)), [209.85.132.243] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QsZth4lTFZQe for ; Sat, 28 Jun 2008 15:09:35 +0000 (GMT) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by menubar.gnome.org (Postfix) with ESMTP id 1B438750111 for ; Sat, 28 Jun 2008 15:09:34 +0000 (GMT) Received: by an-out-0708.google.com with SMTP id c3so159325ana.27 for ; Sat, 28 Jun 2008 08:09:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=cVSdiuSYVXzFjSE9kRRL2AnH9m4Z8H2ZoMCE/YtPwE0=; b=X2rEXcjmHpMN2sZqEfru2OSsxOc09UBkOpQVq6ocMG2TyWSzLcvMUxsLkw3XGLCR0I 0Qm8PyVserkovRZXkmwDfMnnAJRXkpVo/AHqPwSE5VO0Z2ryb0pGwyT3PijXeq2HkjKf yndyVIJWMxZICLjGQAkmOQMFqT2ZwkaYBQrmU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=BygTiIrIc1xWT3ddRL3rWUOUC1H1OyFebZPBUn5A6LPyWZJLaKVBRXUbJ/nEcjeZhT QVPvtQ/dYgqBJiaov+WAk0LwnSrIvhFzOc0Pt7n3Sl5aQSJ+eIr/d7q5vRUCFM6X97nk ZJXAPDpCBgN6btavWwalN62qnhhNVrIjslMrI= Received: by 10.100.227.20 with SMTP id z20mr2732419ang.62.1214665773314; Sat, 28 Jun 2008 08:09:33 -0700 (PDT) Received: by 10.100.12.17 with HTTP; Sat, 28 Jun 2008 08:09:33 -0700 (PDT) Message-ID: Date: Sat, 28 Jun 2008 17:09:33 +0200 From: "=?ISO-8859-1?Q?Steve_Fr=E9cinaux?=" To: "N.L.M. de Jonge" In-Reply-To: <1214043065.10444.4.camel@ren.ren> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1214043065.10444.4.camel@ren.ren> Cc: gedit-list@gnome.org Subject: Re: [gedit-list] request X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 15:09:40 -0000 On Sat, Jun 21, 2008 at 12:11 PM, N.L.M. de Jonge wrote: > I have a feature request for gedit, that I think shouldn't be too hard > to implement and would be really useful to some people. Could yo please fill a bugzilla report for it so it doesn't get lost in the history? From chuchiperriman@gmail.com Sat Jun 28 20:01:26 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 06AB57501B9 for ; Sat, 28 Jun 2008 20:01:25 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.522 X-Spam-Level: X-Spam-Status: No, score=-2.522 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, TW_SV=0.077] X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 2) (firewall!) (up: 2637 hrs), (distance 16, link: (Google 2)), [64.233.182.186] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ttkYwCXCoaMB for ; Sat, 28 Jun 2008 20:01:18 +0000 (GMT) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by menubar.gnome.org (Postfix) with ESMTP id 5BA147500D1 for ; Sat, 28 Jun 2008 20:01:14 +0000 (GMT) Received: by nf-out-0910.google.com with SMTP id c7so230942nfi.23 for ; Sat, 28 Jun 2008 13:01:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=SGJbZk0J5pKIpvTVeRoOfA6ZmIlruEmRm2LgtEGGUog=; b=kStetPmBaQwRGlpUfVTeCDvq3BPpo+jWYqw5TFaOj8v226c6XeRbLSggSO+uThxBP5 r01M/4svxigf8zVPlS6uT/B7jYWzyyZoRNgvsC4IE8ng/7f/eUFUcYKOXMExnpUZBRwr eBqrEdOjZU8jtjPnqlfFZkJ1JuWqJnsW4S758= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; b=FMkBpa5nfb3OpE3h71ihMAHXN7oikH5h2uhblCGrV4cW43WV2cEQOhI1wDnQBL1fde QT6tki6s60m8syXq37sW1jqTrOey834/rh0oJkAgmz4/T9DdgINmUmKbdUIvGF4ZUnb+ XmsWP6gZIB0hyoaboiXh6YUZBn5vUKgPpciHs= Received: by 10.210.27.20 with SMTP id a20mr2537300eba.89.1214683272582; Sat, 28 Jun 2008 13:01:12 -0700 (PDT) Received: from homer ( [80.28.0.3]) by mx.google.com with ESMTPS id f13sm6902335gvd.2.2008.06.28.13.01.11 (version=SSLv3 cipher=RC4-MD5); Sat, 28 Jun 2008 13:01:12 -0700 (PDT) Date: Sat, 28 Jun 2008 22:01:05 +0200 From: Perriman To: gedit-list , devtools list Message-ID: <20080628220105.3337d7ca@homer> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gedit-list] New GtkSnippets inplace parser feature X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 20:01:26 -0000 Hi all, I have been working on GtkSnippets and an inplace parser. Currently you can only download it from svn trunk because it depends on GtkSourceCompletion trunk version. When I finish all planed changes, I will do a release of GtkSourceCompletion and GtkSnippets. You can take a look at this screencast that uses the GtkSnippets gedit plugin (and GtkSourceCompletion) and the new inplace parser. If you have some ideas, you can tell me, please! http://gtksnippets.sourceforge.net/images/inplace-example.ogg Regads, Perriman GtkSnippets Homepage: https://sourceforge.net/projects/gtksnippets/ From bart@neeneenee.de Mon Jun 30 19:21:09 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6A9A2750063 for ; Mon, 30 Jun 2008 19:21:09 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 0.002 X-Spam-Level: X-Spam-Status: No, score=0.002 tagged_above=-999 required=2 tests=[BAYES_50=0.001, HTML_MESSAGE=0.001] X-Amavis-OS-Fingerprint: Linux 2.6, seldom 2.4 (older, 4) (up: 5430 hrs), (distance 21, link: ethernet/modem), [85.25.130.135] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GPv5EbLlaYU8 for ; Mon, 30 Jun 2008 19:20:59 +0000 (GMT) Received: from alpha670.server4you.de (alpha670.server4you.de [85.25.130.135]) by menubar.gnome.org (Postfix) with ESMTP id 16F0375007A for ; Mon, 30 Jun 2008 19:20:58 +0000 (GMT) Received: from [192.168.2.20] (p57A0D80F.dip.t-dialin.net [87.160.216.15]) by alpha670.server4you.de (Postfix) with ESMTP id E26DC134012C for ; Mon, 30 Jun 2008 21:20:58 +0200 (CEST) From: "Eckhard M." =?ISO-8859-1?Q?J=E4ger?= To: gedit-list@gnome.org Content-Type: multipart/alternative; boundary="=-/8zP1OAT6kNlnYrbCcda" Date: Mon, 30 Jun 2008 21:20:56 +0200 Message-Id: <1214853656.7056.4.camel@ElBarto> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Subject: [gedit-list] Getting the actual word or selection X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list Reply-To: bart@neeneenee.de List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2008 19:21:09 -0000 --=-/8zP1OAT6kNlnYrbCcda Content-Type: text/plain Content-Transfer-Encoding: 7bit Hello, again i updated my gEdit Language Reference plugin. Version 1.03 contains: * a bug fix for the "None Type" problem (no programming language is set) * When opening Evince starting automaticly a search with the selected word of gEdit * Error dialogs for problems getting the reference file (dialogs based on Zenity) Thanx to Curtis Hovey helping me with the selection stuff in gEdit. Thanx to the Evince team for adding the requested search word command line parameter. Hopefully Yelp, GnoCHM or web browsers will add such command line features in future. So i can add this feature for CHM, DocBook and HTML documents too. http://my.opera.com/area42/blog/gedit-language-reference-plugin ___/\_______________________________________________________________________ Ich darf keine Kurven schneiden. |\/\/\/| | | Bart. | (O)(O) bart@neeneenee.de C _) | ,_/ Linux for Designers - http://my.opera.com/area42/blog/ | / SweeTS delicious Typo3 development - http://typo3.area42.de/ / \ --=-/8zP1OAT6kNlnYrbCcda Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
Hello,

again i updated my gEdit Language Reference plugin.
Version 1.03 contains:
* a bug fix for the "None Type" problem (no programming language is set)
* When opening Evince starting automaticly a search with the selected word of gEdit
* Error dialogs for problems getting the reference file
(dialogs based on Zenity)

Thanx to Curtis Hovey helping me with the selection stuff in gEdit.
Thanx to the Evince team for adding the requested search word command line parameter.
Hopefully Yelp, GnoCHM or web browsers will add such command line features in future.
So i can add this feature for CHM, DocBook and HTML documents too.

http://my.opera.com/area42/blog/gedit-language-reference-plugin


___/\_______________________________________________________________________

Ich darf keine Kurven schneiden.

|\/\/\/| 
|      |        Bart.
| (O)(O)        bart@neeneenee.de
C      _) 
|   ,_/         Linux for Designers - http://my.opera.com/area42/blog/
|   /           SweeTS delicious Typo3 development - http://typo3.area42.de/
/   \ 

--=-/8zP1OAT6kNlnYrbCcda-- From bengt@vikingsw.com Sat Jun 28 14:57:43 2008 Return-Path: X-Original-To: gedit-list@gnome.org Delivered-To: gedit-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 9E29C750090 for ; Sat, 28 Jun 2008 14:57:43 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 0.461 X-Spam-Level: X-Spam-Status: No, score=0.461 tagged_above=-999 required=2 tests=[BAYES_50=0.001, L_P0F_UNKN=0.8, RCVD_IN_DNSWL_LOW=-1, SARE_RECV_SKANOVA=0.66] X-Amavis-OS-Fingerprint: UNKNOWN [65535:45:1:60:M1460,N,W3,S,T:.:?:?] (up: 3672 hrs), (link: ethernet/modem), [194.9.94.113] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VrsekF0dYWhb for ; Sat, 28 Jun 2008 14:57:38 +0000 (GMT) Received: from s87.loopia.se (s87.loopia.se [194.9.94.113]) by menubar.gnome.org (Postfix) with ESMTP id 634C07500F5 for ; Sat, 28 Jun 2008 14:57:36 +0000 (GMT) Received: (qmail 70586 invoked from network); 28 Jun 2008 14:57:39 -0000 Received: from s34.loopia.se (HELO s24.loopia.se) ([194.9.94.70]) (envelope-sender ) by s87.loopia.se (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 28 Jun 2008 14:57:39 -0000 Received: (qmail 31522 invoked from network); 28 Jun 2008 14:57:34 -0000 Received: from h148n4c1o851.bredband.skanova.com (HELO [192.168.2.2]) (bengt@vikingsw.com@[81.225.35.148]) (envelope-sender ) by s24.loopia.se (qmail-ldap-1.03) with SMTP for ; 28 Jun 2008 14:57:34 -0000 From: Bengt Grahn To: gedit-list@gnome.org Date: Sat, 28 Jun 2008 16:57:04 +0200 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806281657.04346.bengt@vikingsw.com> X-Mailman-Approved-At: Wed, 02 Jul 2008 12:30:56 +0000 Subject: [gedit-list] I wish... X-BeenThere: gedit-list@gnome.org X-Mailman-Version: 2.1.10 Precedence: list Reply-To: bengt@vikingsw.com List-Id: discussion about usage and developement of gedit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 14:57:43 -0000 Hi there, I find that the 2008.1 release of Mandriva lacks Kate, an editor I have been using for many years. So, in search for a replacement, I came across Gedit. However, there is a fairly important difference: When starting Kate, I could select one of a number of projects from an external launcher list, and when Kate started, all files included into the selected project were there. Is there, or are there plans to include, a similar feature into Gedit? Thank you for your attention and congratulations to a great editor! Kind regards, Bengt Grahn bengt@vikingsw.com