You are not logged in.

#1 2005-10-28 06:01:41

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Triple editor help

I need someone to make one simple editor with 1 + 3 windows. Purpose is to copy parts from an original file and paste in three different files.
Here is an edited screenshot how it will look:
http://user-contributions.org/projects/ … editor.jpg

Its preferable to use a language what is 100% sure already installed by the user.


Markku

Offline

#2 2005-10-30 16:40:10

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Triple editor help

The advantage when nobody does for you, we have to learn on our own. smile
So far I have never learn any GUI language, it was time. OOP language is not possible for me, but can manage with Prima - an extensible Perl toolkit for multi-platform GUI development.
http://www.prima.eu.org/

The editor is almost ready (ArchWD Editor).

thumb-archwd-editor.jpg


Markku

Offline

#3 2005-10-30 18:33:42

High|ander
Member
From: Skövde, Sweden
Registered: 2005-10-28
Posts: 188
Website

Re: Triple editor help

Hm, the program looks promising, but the gui is ugly smile


When death smiles at you, all you can do is smile back!
Blog

Offline

#4 2005-10-30 19:00:46

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Triple editor help

you could probably copy/paste python code out of magnum. Python is becomming more prominent than perl nowadays, so its more likely to be installed. (Although realistically, both are needed).

Dusty

Offline

#5 2005-10-31 05:31:56

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Triple editor help

High|ander wrote:

.... but the gui is ugly smile

I know what you mean. This is why I am keeping the push buttons (Open, Copy, etc.) not visible until cursor is at top. The back and front colors can be changed but still the shape and style will be same. Also some of the objects' coloring. The GUI developer is like that.
http://www.prima.eu.org/big-picture/vb_large.gif

One other option could be QT Developer. But I would not ArchWD be dependent on qt. Prima applications most likely can be stand-alone if tweaked a bit.
If I chose another language, need a developer toolkit. Saves time in layouting and selection of objects.

wxPython could be nice. Not sure if I can manage with the language.
http://www.wxpython.org/screenshots.php


Markku

Offline

#6 2005-10-31 15:18:19

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Triple editor help

wxPython is kind of.... funny. Some people really like it and some really hate it. You have to try it and decide. I seriously think gtk is a lot easier to work with, but I'm weird that way.  I think gtk is more likely to be installed on a user system than wxwindows too (at least in Linux), but I doubt either pygtk or wxPython would be standard.

Dusty

Offline

#7 2005-10-31 16:10:27

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Triple editor help

I tried wxPython. With the developer toolkit easy to make layout. The objects are more advanced then in Prima. Didn't yet try how is the coding.... never tried Python.

I like the splitwindow allowing user horisontally expand either the source file or script file window.

pyArchWD Editor:
thumb-archwd-editor.py.jpg


Markku

Offline

#8 2005-10-31 23:19:36

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Triple editor help

rasat wrote:

.. never tried Python.

After perl? You're in for a treat. 8-)

Dusty

Offline

#9 2005-11-01 10:42:06

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Triple editor help

It seems the Prima layout can be improved. Unfortunatly the tab buttons color cannot be changed.
http://user-contributions.org/projects/ … editor.jpg


Markku

Offline

#10 2005-11-01 20:21:49

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Triple editor help

just one question rasat,
why the heck open the files in different windows? aren't tabs doing the trick? then you could copy and past between files, no?


arch + gentoo + initng + python = enlisy

Offline

#11 2005-11-01 20:26:16

High|ander
Member
From: Skövde, Sweden
Registered: 2005-10-28
Posts: 188
Website

Re: Triple editor help

Or use splitted window in vim/gvim


When death smiles at you, all you can do is smile back!
Blog

Offline

#12 2005-11-01 20:30:16

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Triple editor help

or open up multiple editors big_smile


arch + gentoo + initng + python = enlisy

Offline

#13 2005-11-01 20:33:33

High|ander
Member
From: Skövde, Sweden
Registered: 2005-10-28
Posts: 188
Website

Re: Triple editor help

That works too.. But that fast tough wink


When death smiles at you, all you can do is smile back!
Blog

Offline

#14 2005-11-02 03:04:37

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Triple editor help

This editor is not for "me" but will be included in ArchWD package. Its upto the user to use it or use vim or multiple editors.

It is a config "splitter". The purpose is to open an existing Fvwm config what is often coded into one big file (fvwmrc2) and split a selected part e.g. panel, into three different files thereby able to build a small separate user package for ArchWD. The base configs are copied in rc.m (module), color and geometry configs in conf.d and additional scripts in rc.s.
If the package is for background configure only, then all configs are copied in rc.d (daemon).

It will also be used for post configure, to edit the three configs (files) of a package. Also to config from scratch.

Good point of not having two windows when the right hand side window is a tabbed window. The source config (fvwmrc2) can be included with its own tab. Or make the left hand side also tabbed for many source files.


Markku

Offline

#15 2005-11-06 21:30:33

oscar
Member
From: Kiruna, Sweden
Registered: 2004-08-13
Posts: 457

Re: Triple editor help

You can always use emacs for this... smile
Or jEdit.


To err is human... to really foul up requires the root password.

Offline

Board footer

Powered by FluxBB