I wanted to write some unit tests. I saw that there seems to be a unit test infrastructure using the check framework. But I did not find any documentation about how to build geany-plugins for unit testing.
So:
How do I build for unit-testing and how do I run the tests?
--
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/828
Since a recent update, Find & Replace no longer works. I search for 'h2>' (to replace with 'h3>') and I am asked ""h2>" was not found. Wrap search and find again?" even though the sought expression is right in front of the cursor and appears again at the end of that line. That line was a heading such as "<h2>Retraction Of Production Target Jan 2019</h2>".
--
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/2091
It would be nice to have automatic continuation of single-line comments, as long as such a comment is not inline (that is, there is no code before the comment).
For example, pressing Return after this comment (C++, `|` is caret):
```
// First line|
```
Will result in:
```
// First line
// |
```
One of the reasons why it's useful is writing Doxygen documentation. Along with C-style multiline comments, Doxygen supports C++-style comments in the following two forms:
```
///
/// Variant 1
///
//!
//! Variant 2
//!
```
Currently, writing such comments is extremely tedious, not only because you have to type `///` or `//!` every time, but also because the indentation within the comment is lost. Detecting such special cases
(`///` and `//!`) is easy to implement as long as basic form (`//`) is supported.
--
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/2084
Hi!
I just want to let you know. I just tried Geany, and I'm not able to scroll the text with touchscreen. Otherwise, looks interesting, but it's a critical problem for me, so I have to stick with something else for now.
Geany v1.33 32-bit on Windows 10 1803 64-bit
--
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/1977
Geany is my all-time favourite IDE for C, C++, Python, HTML, JavaScript and just about anything else that requires a high-powered text-editor. Thanks!
What would make Geany even better is if part of the main toolbar (maybecould be used to add additional buttons for build commands that aren't just 'Build' or 'Compile'. Just like the build commands are customisable, I'd like to add toolbar buttons for custom per-project build commands that I use often. Maybe make it a plug-in!
Thanks for a great IDE! 😄
--
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/1550
In trying to give named parameters to mixins, I noticed you can get away doing this:
```pug
mixin simpleField({label, name, isRequired, leftIconClass})
.field
label.label(for=`txt-${name}`)= label
div(class=`control ${leftIconClass ? "has-icons-left" : ""}`)
input.input(
id=`txt-${name}`,
name= name,
type='text',
required= isRequired)
if leftIconClass
span.icon.is-small.is-left
i.fas(class= leftIconClass)
+simpleField({ label: "Full Name", name: "host-full-name", isRequired: true, leftIconClass: "fa-user" })
```
Is there a good chance this is going to break in the future?
--
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/2083
>From my early tests it works fine loading and saving embedded NUL bytes, but I expect many features not to work properly (although e.g. regex search seems happy, yet displaying results not so much). It however should help getting to a point where these could be handled properly, and is handy also for slightly broken files and alike.
Anyway for now such files are loaded read-only and display a warning to the user to avoid most problems.
Related to (and should fix for the most part) #618 and #1708 (and possibly others).
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1709
-- Commit Summary --
* Avoid weird length value
* Add sci_set_text_with_length()
* Don't cut the loaded data at the first NUL when passing it to Scintilla
* Don't cut UTF-8 documents at the first NUL byte when saving them
* encodings: Accept NULs when validating UTF-8
* Properly load files with embedded NULs
* Show an infobar for files with embedded NULs
-- File Changes --
M src/document.c (58)
M src/documentprivate.h (1)
M src/encodings.c (118)
M src/encodingsprivate.h (2)
M src/sciwrappers.c (10)
M src/sciwrappers.h (2)
-- Patch Links --
https://github.com/geany/geany/pull/1709.patchhttps://github.com/geany/geany/pull/1709.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/1709