Hi everyone,
I'd like to announce the ViMode plugin which, well, brings the Vim-style
editing to Geany. If you are like me, you probably think "oh crap, that's
about the last thing Geany needed". But there are some strange people among
us (be kind to them, it's not their fault) who were constantly asking for
the vim mode so I eventually decided to be the evil guy who brings this
terrible thing to Geany.
To learn more about the plugin, please check its README here:
https://github.com/geany/geany-plugins/blob/master/vimode/README
To be able to test the plugin, you will have to compile the latest
development version of Geany and geany-plugins. Please report problems and
missing stuff at the geany-plugins github page, or, even better, submit
patches!
Cheers,
Jiri
Hi All,
Geany 1.33
Is there a way when your are doing a search and replace to tell Geany
not to interpret characters in the search and/or replace fields?
Just to take then literally as entered?
for instance
Replace:
print( "abc\n" );
comes out
print( "abc
" );
In other words, it caught my `\n` and turned it into a return.
I got some that start with `&` and oh boy.
Many thanks,
-T
--
~~~~~~~~~~~~~~~~~~~~~~~~
Yesterday it worked.
Today it is not working.
Windows is like that.
~~~~~~~~~~~~~~~~~~~~~~~~
Hello folks,I am using Linux mint with Geany 1.27
I get this error when running a command from Build->Set Build Commands/tmp/geany_run_script_KH9HJZ.sh: 7: /tmp/geany_run_script_KH9HJZ.sh: /home/joe/pythonbuild.py: Permission denied
when i run from the command line it works. Here is what I put on the command line.python pythonbuild.py dev/Arduino/sample/sample.ino
The set Build Command in Geany is: /home/joe/pythonbuild.py
I get the erro above when this is exectuted from Geany
It looks like Geany runs a script from the tmp directory to run my py script.
I just switched from windows to linux so that could be part of my problem.
thanksJoe
Hello all!
I have a problem on the Raspberry Pi where Geany will not show the Tkinter window when I am making a simple Python app with tkinter graphics.
I tried asking on Stack Exchange but no luck… I am sorry that I will just paste the question below, it’s the easiest way to be clear about it!
======
My problem: When I run my simple graphics tkinter python script (pasted below) in Geany, it "runs" ... BUT it simply shows the white-text-on-black script window proudly announcing that script completed... while the tkinter graphics window created by the script does not appear! *** When I do this in another IDE, Thonny, the graphics window appears. How do I get Geany to show this script's graphics window correctly? THANKS!
—— below is the code (from a learn-Python book)
from Tkinter import *
window = Tk()
window.title('Alien')
c = Canvas(window, height = 300, width=400)
c.pack()
body=c.create_oval(100,150,300,250,fill='green')
eye=c.create_oval(170,70,230,130,fill='white')
eyeball=c.create_oval(190,90,210,110,fill='black')
mouth=c.create_oval(150,220,250,240,fill='red')
neck=c.create_line(200,150,200,130)
hat=c.create_polygon(180,75,220,75,200,20,fill='blue')
def mouth_open():
c.itemconfig(mouth,fill='black')
def mouth_close():
c.itemconfig(mouth,fill='red')
def blink(event):
c.itemconfig(eye, fill='green')
c.itemconfig(eyeball, state=HIDDEN)
def unblink(event):
c.itemconfig(eye, fill='white')
c.itemconfig(eyeball, state=NORMAL)
words=c.create_text(200,280,text='I am an alien!')
def steal_hat():
c.itemconfig(hat,state=HIDDEN)
c.itemconfig(words, text='Give me my hat back!')
window.attributes('-topmost',1)
def burp(event):
mouth_open()
c.itemconfig(words,text="Burp!")
c.bind_all('<Button-1>', burp)
c.bind_all('<KeyPress-a>',blink)
c.bind_all('<KeyPress-z>',unblink)
def eye_control(event):
key=event.keysym
if key=='Up':
c.move(eyeball,0,-1)
if key=='Down':
c.move(eyeball,0,1)
if key=='Left':
c.move(eyeball,-1,0)
if key=='Right':
c.move(eyeball,1,0)
c.bind_all('<Key>',eye_control)
Hello all, I am trying to make dev environment for arduino projects.
I made a filetypes.Ino.conf file by copying from filetypes.c
This file lives in my ~/config/geany/filetypes directory
I added Ino=*.ino and Ino to the programming languages Group
in the filetype_extensions.conf This file is in ~/.config/geany/
When i open up an *.ino file in Geany I do not get any colored text
I guess I am not doing everything i need to get that to happen.
Any help is appreciated.Thank youJoe McCarron
Is there a way to display the description of a function's arguments or at
least the names of the arguments to a function when hovering with the
pointer over function call?
Thanks,
Matan