Cliff Laine | 19 Jun 2013 15:24
Favicon
Gravatar

[Geany-Users] End key = Go to RH window edge, not line end

Hello Geany people

Is there a way of writing a snippet which would take the cursor to that
part of the line which is at the RH window edge? I.e., to modify the
behaviour of the "End" key to make it go to the RH window edge rather
than the end of the line? 

I notice that this was raised on the list in January 2009 
http://blog.gmane.org/gmane.editors.geany.general/month=20090601/page=8

In this thread, Heiko Studt commented on the apparent impossibility of
swapping the "End" and "Alt+End" keybindings. 

Is this still the case? Alt+End is possibly one of the most difficult
key combinations to press without taking one's eyes off the screen. I
would very much rather use a simple "End".

Thank you an excellent editor, btw. I have been using EditPlus under
Wine for a few years and didn't think I'd find anything better.

Cliff
Sean Noble | 14 Jun 2013 14:37
Picon
Gravatar

[Geany-Users] a snippet for the %cursor%

Hi,

I am trying to add a snippet for %cursor% in the [Defaults] snippet area.

cur=%snippets%

This does not work as the %cursor% is transformed to the cursor
location when hitting tab. I am looking for an escape sequence,
something like:

cur=%%snippet%% or
cur=\%cursor\%,

such that a literal %cursor% is left after transforming. Those two
examples don't work, but perhaps there is a way?

Thanks!
Павел Рощин | 14 Jun 2013 09:22
Picon

Re: [Geany-Users] Auto-close plugin for brackets

Middle click is expectable action for closing sub-windows in many
applications. Recently middle mouse button started to use as fast
closing action for tabs. IIRC first introduced this feature were
Mozilla Firefox web-browser, but there are many apps you may see same
behaviour. I didn't noticed any existing action by middle-click on
sidebar in Geany.

Of course, it may be configurable because some people prefer to click
twice (right-click + click on close button) but this is not fast enough
for me, sometimes I have to close 10-20 files in a row. I think there
are some people faced with this problem too. I'm talking about people
who disabled tabs in preferences and uses sidebar only (middle-click
works on tabs but not sidebar and those who disabled tabs have no way
to close documents in a row).

Maybe my case is very special (I use Geany to open hundreds of files on
tens of programming languages). If nobody wants it - it will be my own
patch:) But I think having this disabled by default if prefs shouldn't
hurt.

Fri, 14 Jun 2013 09:14:33 +1000
сообщение от Lex Trotman <elextr <at> gmail.com>:

> The middle click is a bad idea, the middle button has a defined use,
> paste, and re-purposing it for something else is bad.

--

-- 
Best regards,
Pavel
_______________________________________________
(Continue reading)

Lee Gold | 13 Jun 2013 12:56

[Geany-Users] How to Change Themes?

Hi,

Using .21 downloaded and installed geany-themes-0.21.zip from
http://wiki.geany.org/themes/start. Using Ubuntu.

So how do I access all these themes? I expected a drop down menu some
where in the tool bar so I could easily preview and change each theme,
but can't find it. Help appreciated. Thanks.

--

-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
                          love email again
Joerg Desch | 11 Jun 2013 09:21
Picon

[Geany-Users] Need advice to create LUA open-hook for linewrapping

Hi,

a longer time ago I asked for a LUA on-load hook to enable linw wrapping for specific file types. Now I have
found some time to give LUA a try. But I stuck in the geany API. May someone can help...

I have found out that geany.fileinfo() returns me the file type as string. To switch the wrapping mode, I
could use geany.scintilla(). The documentation of the LUA plugin sounds like this would be not the "first
choose". So I looked again into the documentation and the geany source and found the following stuff.

geany.signal() allows me to call a GTK signal. The menu which handles the line wrapping toggle seems to be
"menu_line_wrapping1". So it should be possible to call the signal

    geany.signal("menu_line_wrapping1","toggled")

to toggle the setting. For now it doesn't toggle anything. It just inverts the visibility of the horizontal
scrollbar. ;-)

What I'm looking for is not a toggle. Is there a signal to *enable* the line wrapping? And Geany should be
aware of these changes!

Or is it OK/save to call geany.scintilla(SCI_SETWRAPMODE,SC_WRAP_WORD)?

Regards.
--

-- 
Email: Joerg Desch <jd DOT vvd AT web DOT de>
Martin Nöthig | 5 Jun 2013 13:18

[Geany-Users] geanylua-plugin

Hi geanyusers,

I recently installed geany on my mac (osx 10.8.4) to code in lua and have lua 5.2 installed.
For the auto-completion functionality I want to install the geanylua - plugin and here comes my problem.

I downloaded the plugin from "https://github.com/geany/geany-plugins/tree/master/geanylua" and
followed the README and INSTALL instructions, but "configure" or one of the "make" commands are not working.

How can I get the plugin installed?

Thank you in advance and please ask for more information if needed.

Greets from Berlin,
Martin
Mike Miller | 18 May 2013 02:11

[Geany-Users] Reflow lines

Any developers on here?  I'd like to ask for a micro-enhancement.

I have geany open all the time (v1.22) and use the "reflow lines/block" (Ctrl+J) 
command often to wrap very long strings I've pasted in.

It works.  However when it does, it scrolls the viewport over to where the end 
of the line was.  This makes the document now invisible.  I have to then grab 
the mouse and move the scroll bar over.  Could be done hitting the home key too 
I suppose but I usually forget.

So the question is, could Ctrl+J Reflow scroll back to the first column when it 
is finished?

--

-- 
-Mike

  -------------------------------------------------------------
  Mike Miller             Earth, Sol, Orion Arm, Milky Way, VSC
J.McNamara | 15 May 2013 07:05
Picon

[Geany-Users] extending TKProE with geany

Hi-

TKProE is an ide for TK. The creator said with an editor like notepad, you can save and close the editor file and it will update the proc window in TKProE. Is there a trick to that someone here may know of? I asked the question here because I'd like to use Geany for this. Right now, I edit my changes and save them in Geany. Then I shut down TKProE and start it up again and load my project to see the updated changes.

From the user docs of TKProE...

"Editor
This option specifies the external editor that should be used for editing the application procedures.
This editor is run by pressing the Edit button on the
TKproE procedures dialog
. The currently
selected procedure will be opened using the external editor. The TKproE application itself will wait
until the external editor program is closed before TKproE will respond to any more user input. When
the editor is closed, TKproE will update the source code associated with the currently selected
procedure.
Remember to save the file before exiting the external editor. You should also remember to press the
Insert
button in TKproE in order to save the modified procedure within TKproE.
External editors (e.g., Windows Write) that create a copy of themselves and then immediately return
to the calling application will not work with this feature. (On the Windows operating system, the
Notepad program will work properly.)
Any necessary command line options should be included when setting the value of this option. The
name of the temporary file containing the procedure being edited will be substituted anywhere the
word FILENAME is found in the option value."
 
I will check tomorrow for any replies. I need to go to bed now and get some
sleep so I can go to work. I asked in one other forum but it is a programming forum
and not an editor guru forum. I will go mark that closed so there is only one
question at one forum.

thanks so much,
3rdshiftcoder
_______________________________________________
Users mailing list
Users@...
https://lists.geany.org/cgi-bin/mailman/listinfo/users
Pavel | 13 May 2013 19:23
Picon

[Geany-Users] Auto-close plugin for brackets

Hello!

I made new plugin that includes almost all possible features concerned
with brackets and quotes auto-closing. I just finished it and maybe you
want to test it. If it is useful and good enoough I will make pull
request.

Previously I made a patch for geany, but decided to put all code
together inside one small plugin.

Here is it:
https://github.com/scriptum/geany-plugins/tree/master/autoclose

--

-- 
Pavel Roschin aka RPG
מתן הרשקוביץ | 12 May 2013 09:10

[Geany-Users] Tile windows in Windows

Hi guys,

Can you please tell if there is a way to tile some open windows in order to observe several files on the same time?

As the title indicates, I'm working on Windows.


Thanks,

Matan

_______________________________________________
Users mailing list
Users@...
https://lists.geany.org/cgi-bin/mailman/listinfo/users
Liviu Andronic | 7 May 2013 21:11
Picon

[Geany-Users] multiple, non-adjacent lines selection

Dear all,
Can I use Geany to select multiple, non-adjacent lines? I looked into
the extra selection plugin, but it doesn't seem to support this. For
example I want to select line 3, then hold ctrl and select line 7;
then press delete.

Regards,
Liviu

--

-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail

Gmane