Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: GTK source editing

by nonsequitur (Pilgrim)
on Jun 11, 2015 at 02:44 UTC ( [id://1129963]=note: print w/replies, xml ) Need Help??


in reply to Re: GTK source editing
in thread GTK source editing

Thank you so much for your reply.

I am trying to build my own source editor because due to oddness in the way my mind works there a very few things that work the way I expect them too which causes me much frustration.

I am sorry that I did not give sufficient detail. It was due partly to embarrasment, I had installed Gtk2::SourceView2 first from RPM and when it seemed broken, uninstalled it and installed in from CPAN. When I run the sample code from the CPAN page I get the error "Can't locate object method "new" via package "Gtk2::SourceView2"". I read SourceView2.pm and found nothing that helped. I tried to install Gtk2::SourceView but ran into trouble because it relies on old libraries. I finally looked in the source folder of Gtk2::SourceView2 and found an example that works and will help a lot (it does not use Gtk2::SourceView2->new()).

Replies are listed 'Best First'.
Re^3: GTK source editing
by jfroebe (Parson) on Jun 11, 2015 at 03:19 UTC

    By all means reinvent the wheel. I'll cheer you on. But why? There is vim/gvim, emacs, gedit, and so on. What feature are you looking for? Perhaps there is a plugin that would work for one of the editors that already exist.

    Jason L. Froebe

    Tech Blog

      What I am aiming for is really something more like an IDE. The few IDEs I have tried I found very confusing. Emacs was very promising but to get it to work in the way I would like it to would mean learning ELISP. Not only do I find Lisp confusing, but ELISP has a fairly limited domain for the amount of time it would take me to learn it. However the worst part is that there were so many key bindings to remember and this is actually where much on my problem lies not that my memory for such things is necessarily bad but erratic, For almost a month now I have been using the same finger to type e and i (or trying to) sometimes I will hit e instead of i three or for times before I get the right letter.

      There is not much I can do about the key problem but I have many similar problems that last for days or months that could be easily ameliorated if every time I noticed that I found myself repeatedly doing A expecting B to happen I could arrange it so it would. However since getting most programs to do what you want means learning a new language which takes a certain amount of time even if it is a very simple one, I decided that I would concentrate on learning one or two languages well enough to make sure I have a computing environment that generally works the way I expect it to. I am working slowly toward this end.

      I am sorry if this is but these are things that I have thinking about for years but no one had ever asked.

      It amused me that that you used "reinvent the wheel" Because when I was younger I had sort of a motto "It is a better wheel I have invented" as I was constantly having to reinvent things because I did not understand them until I had.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1129963]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-19 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found