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
Charles Johannisen | 2 May 2013 08:09
Favicon

[Geany-Users] setup custom server-side tags

Hi,

I would like to know how I can setup the syntax highlighter to recognize 
a custom server-side tag like the PHP <? ?> or ASP <% %>

Thanks
--------------------------------------------------
http://www.tray-international.com
--------------------------------------------------
Lex Trotman | 2 May 2013 05:05
Picon

[Geany-Users] File Saving options

There have been recent queries about file saving, backups etc.

I have just added a wiki article on how Geany file saving settings and the save actions plugin works at http://wiki.geany.org/config/all_you_never_wanted_to_know_about_file_saving 

Everyone should read it or forever lose your data.

Cheers
Lex
_______________________________________________
Users mailing list
Users@...
https://lists.geany.org/cgi-bin/mailman/listinfo/users
Picon

[Geany-Users] script to delete currently viewed document

-- in case anyone finds it helpful, here is a script to delete from
disk-- the document currently being viewed, which is something that
some of-- the other text editors out there have a button or menu
command forlocal keys_to_read, path, code, alerts, gloss, i,
jgeany.banner = "Lua Script: Close and unlink"i = 60if (geany.count ()
> 0) then path = geany.filename () keys_to_read = geany.fileinfo
()else path = nil keys_to_read = nilendif ((path == nil) or
(keys_to_read == nil) or (keys_to_read["changed"])) then alerts = "No
saved document to unlink"elseif (keys_to_read["readonly"]) then alerts
= "Read-only document cannot be unlinked"else gloss = ("Unlink \"" ..
path) .. "\"?" j = string.len (gloss) if (j < i) then j = i end alerts
= gloss .. ("\n" .. string.rep ("_", j)) if (geany.confirm (" ",
alerts, false)) then   geany.close ()   code, alerts = os.remove
(path)   if (code) then     alerts = ("Unlinked \"" .. path) .."\""
else     if (alerts == nil) then gloss ="unknown OS error" else gloss
= alerts end     alerts = ("Unable to unlink \"" .. path) .. (("\" ("
.. gloss) .. ")")   end else   alerts = "" endendj = string.len
(alerts)if j > 0 then if (j < i) then j = i end geany.message (alerts
.. ("\n" .. string.rep ("_", j)))end
Steve | 30 Apr 2013 15:11
Picon

[Geany-Users] Printing for all printers stopped after installing drivers for Canon printer.

Windows 7, Geany 1.2.3. Canon MX890 and Lexmark E260n printers..

A couple of weeks ago, I installed a Canon MX980 printer. Afterwards, Geany stopped 
printing to any printer. When I print a file from Geany, a small pop up is displayed with 
the message "Preparing nnnnn" where nnn is a increasing number.  in the Messages window, 
bottom right a flashing message "Paginating". The print function never completes. The text 
in the "Messages" window is:

08:52:50: Did not send document C:\Users\steve\Desktop\test.txt to the printing subsystem.
08:52:50: Document C:\Users\steve\Desktop\test.txt was sent to the printing subsystem.

Note++ and other editors print as expected to all printers.

I uninstalled and reinstalled Geany (geany-1.23_setup.exe 
<http://download.geany.org/geany-1.23_setup.exe> - Full Installer including GTK 2.16.).  
The Cannon drivers are at the latest level.

Thanks,

Steve
Chris Williams | 30 Apr 2013 00:55
Gravatar

https://lists.geany.org/cgi-bin/mailman/listinfo/users safe.

Sorry I am a newbie and when I try to go to:

  https://lists.geany.org/cgi-bin/mailman/listinfo/users

I get the following error:

*******************************************************************
This Connection is Untrusted

           You have asked Firefox to connect
securely to lists.geany.org, but we can't confirm that your connection 
is secure.
           Normally, when you try to connect securely,
sites will present trusted identification to prove that you are
going to the right place. However, this site's identity can't be verified.

           What Should I Do?

             If you usually connect to
this site without problems, this error could mean that someone is
trying to impersonate the site, and you shouldn't continu

         lists.geany.org uses an invalid security certificate.

The certificate is not trusted because no issuer chain was provided.

(Error code: sec_error_unknown_issuer)

           If you understand what's going on, you
can tell Firefox to start trusting this site's identification.
Even if you trust the site, this error could mean that someone is
tampering with your connection.
           Don't add an exception unless
you know there's a good reason why this site doesn't use trusted 
identification.
*********************************************************************

Is it safe for me to proceed?
--

-- 
Email footer Chris Williams

Thermalsrus Logo <http://www.thermalsrus.com>
Thermals R Us 
<http://www.thermalsrus.com/><http://www.thermalsrus.com/>- For all your 
Thermal Clothing
_______________________________________________
Users mailing list
Users@...
https://lists.geany.org/cgi-bin/mailman/listinfo/users
Josh Nijenhuis | 24 Apr 2013 19:58
Picon

[Geany-Users] Code Folding

Docs
"Code folding
     Allow groups of lines in a document to be collapsed for easier 
navigation/editing.
Fold/Unfold all children of a fold point
     Whether to fold/unfold all child fold points when a parent line is 
folded."

I have code like this everywhere
     if ($this==0) {
         warn "hello";
     } else  {
         warn "bye";
     }

But when I collapse the if statement the else get collapsed too, but if 
I do this

     if ($this==0) {
         warn "hello";
     }
     else  {
         warn "bye";
     }

it works,

any suggestions? beside reformatting? can geany support my code layout?

Thanks

Josh

Gmane