Line wrap breaks at word boundaries (word wrap). Straight line wrapping - breaking at a column - would be better for long lines of cryptic code.
When long lines end with series of tabs followed by text intended to align at column, calculation of column varies by number of characters preceding the wrap.
To replicate, type a long line of text that wraps a couple of words onto the (wrap)
following line<tab><tab><tab><tab>Aligned Text
Insert characters into the first line (before the wrap) and watch "Aligned Text" shift a character at a time.
Expected behavior is "Aligned Text" should only shift a tab at a time, as the second line increases length. The number of characters on the first line, before the wrap, shouldn't make any difference.
Xubuntu 17.10 with latest Geany from repository (1.29).
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1495
Hi,
i switched completely to geany on all my platforms because geany is available for windows, Linux Mint and Raspberry OS and is active in development. On Windows i used pspad and there was a color picker which had predefined colors.
I use the color picker often for html and i try to find every time the same color with the sliders, the result is mostly similar but not the same ... is there a better color picker ?
Thank you
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1010
Hello @ all,
i am testing out a first Tkinter python program on different OS. On Raspbian ( Stretch ) i run this program under IDLE and IDLE3 and from Geany ( 1.29 ). The code is :
`
#from Tkinter import * # Python 2
from tkinter import * # Python 3
# definition of function upper radio button pressed which creates a picture in the window. The picture is in file Rechteck_gelb_mit_Punkt_blau.gif
# see definiton of blue_img on the bottom of this script
def upper_radio_button_pressed():
canvas.create_image(20,20, anchor=NW, image=blue_img)
# definition of function upper radio button pressed which creates a picture in the window. The picture is in file Rechteck_gelb_mit_Punkt_rot.gif
# see definiton of red_img on the bottom of this script
def lower_radio_button_pressed():
canvas.create_image(20,20, anchor=NW, image=red_img)
# definition of class App which is handling the Quit and the hello Button
class App:
def __init__(self, master):
frame = Frame(master)
frame.pack()
self.button = Button(frame,
text="QUIT", fg="red",
command=frame.quit)
self.button.pack(side=LEFT)
self.slogan = Button(frame,
text="Hello",
command=self.write_slogan)
self.slogan.pack(side=LEFT)
def write_slogan(self): # definition of function write slogan. The text is written in the command line box only if the button Hello is pressed.
print ("Tkinter is easy to use!")
# Tkinter window definition
root = Tk()
root.title("First python Tkinter window")
# width x height + x_offset + y_offset:
root.geometry("500x600+30+30")
# define red label inside the window with text "red Label"
w = Label(root, text="Red Label", bg="red", fg="white")
# automatic managing of geometrie ( pack manager )of label w inside of the window
# means x coordinate is done automatically and Y coordinate is given ( for x use padx =...)
w.pack(fill=X,pady=10)
# integer variable definition
v = IntVar()
entry1 = Entry(root)
entry2 = Entry(root)
# definition of Label "Choose a programming language"
Label(root,
text="""Choose a
programming language:""",
justify = LEFT,
padx = 20).pack()
# definition of pushable radiobuttons with text Phyton or Perl
Radiobutton(root,
text="Python",
padx = 20,
variable=v,
value=1,
command=upper_radio_button_pressed).pack(anchor=W) # call the function upper_radio_button pressed
Radiobutton(root,
text="Perl",
padx = 20,
variable=v,
value=2,
command=lower_radio_button_pressed).pack(anchor=W)# call the function upper_radio_button pressed
# a canvas is a graphical object, here blue_img and red_img
# define the dimensions of the pictures inside of the window and that it is shown inside of the window root
canvas_width = 200
canvas_height = 100
canvas = Canvas(root,
width=canvas_width,
height=canvas_height)
canvas.pack()
#definition of picture blue_img
blue_img = PhotoImage(file="/Users/holgerlech/Documents/85_Computer/Python/Quadrat_gelb_mit Smilie.PPM")
#definition of picture red_img
red_img = PhotoImage(file="/Users/holgerlech/Documents/85_Computer/Python/Rechteck_gelb_mit_Punkt_rot.gif")
# call of the class App with parameter root for the window
app = App(root)
Label(root,text="Vorname:").pack()
vorname = entry1.pack()
Label(root,text="Nachnahme:").pack()
nachname = entry2.pack()
#start window loop
root.mainloop()
print(vorname)
print(nachname)
`
In IDLE the Tk window was opened but in Geany only a Terminal window with "geany_run_script_93XQp0.sh" appears and that's it, nothing more happens. On Mac OS a script is started too, but then the Tk windows appears. Whats wrong here ?
![200822_Geany_Tkinter_only_run_script](https://user-images.githubusercontent.com/34654103/90960244-9a215f00-e4a0-11ea-86e2-74a7baa73642.png)
![200822_IDLE_Tkinter_first_runs](https://user-images.githubusercontent.com/34654103/90960248-9f7ea980-e4a0-11ea-9d83-718f636fb8de.png)
Thank You very much !
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2578
Tested in Windows and Linux versions, Geany 1.32.
1. Have two or more files opened with Geany (not sure if with 1 also happens)
2. Go to Edit > Preferences > Editor
3. Check the first item in "Features" section; line adjustment.
4. This should make the lines not to be rendered beyond the right margin of the window, making them split into multiline (not actually adding a \n char, you know). It doesn't happen.
5. Close the Geany window. Reopen it.
6. The lines still are not displayed multiline (adjusted).
7. Close one file tab. Reopen the same file.
8. Lines are finally correctly rendered.
I think it'd be awesome to see the new preferences setting in effect in (4), although at least in (6) the lines should be correctly rendered.
Please, contact me if further details are needed. Thanks.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2589
markdown is getting even more common these days it would be nice that geany can make itself a first class markdown editor. The "urgent" feature I would request:
1. When adding a list, a return key should automatically make next line read for the list, now I have to type each list line with "* my line", the "* " part should be automatically added.
2. select a few lines and change them to a list easily together
3. when type headlines they should be bold as what **bold** already does
4. select some text then use keybinding to make it bold or italic, e.g. Ctrl+B(bold), ctrl+I(italic) , or just type `**` , `*` it can auto be added to both ends of the selected text, now I can only do this with quote sign \`
with above features, geany will become one of the best markdown editor, that alone is enough for its wider usage
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2070
#include <stdio.h>
int main() {
char ch[10];
scanf("%s",&ch);
printf(ch);
}
On line scanf("% s", & ch); shows an error, but it is running and working, my question is, why does the Netbeans IDE 8.2 program show everything normally without any errors, but in the Geany 1.36 program it shows an error but is executed?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1008