I know this issue is still open in scintilla but I cannot re-produce it with SciTE 3.7.5 (the same version Geany is using). Can anyone test and confirm this please before I disturb the scintilla team?
( I CAN re-produce it with Geany)
--
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/325#issuecomment-373527620
@elextr: thanks, can re-produce it still. Must have been something wrong yesterday.
--
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/325#issuecomment-373475210
To reproduce, just delete the first line in a version-controlled document. I believe the reason is that changebar markers of deleted lines are always placed on a previous line and there's no previous line in this case.
This also affects #531 Because in this case it isn't possible to perform undo. Note that if this issue is fixed somehow, the code from #531 has to be updated too because right now it assumes the deleted line's marker is on the previous line.
--
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/532
There is some problem with Geany's context action command that is revealed by the following example.
Let's make a simple /home/me/sh1 executable file containing:
```
1 #! /bin/bash
2 echo "$1" "$2" "$3"
3 read
```
and set the context action command as:
` xterm -e /home/me/sh1 $2 $3 "%s"`
Now not going too far, let's select line #2 of our sh1 and run the context action command.
We'll get in xterm:
` $2 $3 echo $1 $2 $3`
while indeed we waited the following:
` $2 $3 echo "$1" "$2" "$3"`
To get it we should select the text with quotes escaped:
` echo \"$1\" \"$2\" \"$3\"`
Reason of all this mess is that Geany doesn't escape quotes in itself.
The internal Geany code swallows quotes of %s.
Moreover, if we select "$ in our text then we'll get nothing.
By this we'll totally confuse Geany.
Any odd number of " in selected text will do the same.
By the way, to process this sentence with context command we should write it as:
` Any odd number of \" in selected text will do the same.`
but writing and selecting it quoted:
` "Any odd number of \" in selected text will do the same."`
we'll get
` $2 $3 Any`
(after internal stripping all non-escaped quotes $3 parameter of sh1 will get "Any", $4 "odd", $5 "number" ...).
All this is not so good.
Geany should not modify any selected text any way.
It's for us stupid users to use any number of quotes and other stuff in processed text.
---------
2nd issue is in "Compile/ Build/ Run settings".
If we set the Run command (let it be so dull, heh):
` xterm -e /home/me/sh1 $2 $3 "%s"`
and press F5, all we get in xterm is:
` %s`
Geany swallows all $ when they are followed by a number or a letter.
It takes them internally for some parameters and substitutes them in Run command with spaces.
Quoting them as in
` xterm -e /home/me/sh1 "$2" "$3" "%s"`
doesn't help as well.
--
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/1801
Currently on reload the cursor moves to the start on reload, causing a scroll to the start.
The cursor position should be saved and restored if possible (ie if the file is still longer than the position).
Even better would be for the screen position to remain the same, but I'm not sure Scintilla supports that.
My personal use-case is reloading test logs where I want the cursor to go to the previously failing test output so I can check I fixed it, but there are others as well.
---
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/969
On ```Save As...``` a text in the form ```untitled.ext``` will be replaced with the chosen filename if it is found in the first 3 lines of the document. This PR adds a description of the feature to the manual. Fixes #753.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1804
-- Commit Summary --
* manual: added documentation about replacement of 'untitled.ext' with filename
-- File Changes --
M doc/geany.txt (10)
-- Patch Links --
https://github.com/geany/geany/pull/1804.patchhttps://github.com/geany/geany/pull/1804.diff
--
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/pull/1804
Lex Trotman wrote
> Yes **untitled.xxx (where xxx is the file extension)
> has to be in the first three lines and only the
> first occurrence is replaced**. *This has nothing to do
> with templates, its a new-file save feature, and it
> does not appear to be documented,* **can you raise an
> issue so its not forgotten.**
More at http://news.gmane.org/gmane.editors.geany.general
11 nov 08:36 2015 Lex Trotman [Geany-Users] Geany templates
From: Lex Trotman <elextr@...>
Subject: Re: [Geany-Users] Geany templates
Newsgroups: gmane.editors.geany.general
Date: 2015-11-11 07:36:03 GMT
Richard H
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/753
@LarsGit223 maybe try the situations listed in the scintilla bug @b4n created, its not marked fixed. (and I do hope you are using print to PDF and not killing polar bears by using paper).
--
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/325#issuecomment-373197234
Have I understood the problem right?
- printing 2 document pages per paper sheet
- line numbers are missing/content is missing
Just printed out some file (only 10 pages on 5 sheets of paper). Looked good to me, everything is there. Or do I have to print out more to reproduce?
--
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/325#issuecomment-373134425