Let's consider the following example:
```python
import math
class A(object):
def f(self):
pass
def g(self):
pass
```
>From the symbols list, if I select the `f` method:
1. its name is highlighted in the symbols list
2. its heading is highlighted in the editor
3. but the status bar says that I'm in `A`, while I would have expected `A.f`
While, if, from the symbols list, I select the `A` class:
1. as above
2. as above
3. but the status bar says that I'm in `unknown`, while I would have expected `A`
Let's suppose now that the staus bar returns the right name of the current function.
>From the editor, if I select the `g` method (could be its heading or its body):
1. its name is not highlighted in the symbols list (it's still `f`), while I would have expected it to be
2. the current line is highlighted in the editor
3. the status bar says that I'm in `A.g`
At this point, I think that it would be relatively easy to:
1. take the value returned from the status bar (`A.g`)
2. take the value of the current symbol highlighted in the symbols list (`A.f`)
3. if they are different [*] then highlight the symbol with value equal to one returned from the status bar (`A.g`)
[*] In certain cases the staus bar returns the value `unknown`, for instance if I select, from the editor, the import statement `import math`. So it would be better to rephrase the last point in:
3. if (they are different **and** the value of the staus bar is not unknown) then highlight the symbol with value equal to one returned from the status bar (`A.g`)
I would really supply a pull request, but unfortunately I don't know C.
--
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/1685
Is 26fd7328cd409ceb16557a0fe637d5c028c0598f enough for properly enabling the test program on `make check`? To me it seems, it was just missing or was it intentional that the test program isn't run on `make check`?
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/644
-- Commit Summary --
* Fix cppcheck false-positive warning
* Check for NULL on arguments before using strcmp()
* XmlSnippets: enable test program on "make check"
-- File Changes --
M projectorganizer/src/prjorg-menu.c (2)
M xmlsnippets/src/Makefile.am (1)
M xmlsnippets/src/tests.c (4)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/644.patchhttps://github.com/geany/geany-plugins/pull/644.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-plugins/pull/644
Hi there. I wasn't aware of this until comparatively recently myself, but in 2017, using the word "sexy" in this context is offensive.
If we want to welcome more women into our open source communities, we need to show we mean what we say. Please consider being a part of the solution.
Thanks in advance!
--
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/1672
> Remove the ability to store project sesson files in geany.conf (i.e. remove the preference and enable it unconditionally, it's alredy on by default)
Well the option is to store them in project file or not `Edit->Preferences->Miscellaneous->Use project based session files`, but I guess the inverse could be taken to mean store them in `geany.conf`, except it doesn't control that, which is the point of the issue.
Personally I am happy to remove it and say project session files go in project files and non-project session files go in `geany.conf`, project files are really only named sessions, they are not much use without them unless someone has a reasonable use-case for not doing so?
>Store session in geany.conf when opening a project
> Restore session when closing the current project
@kugel Looks like a good solution to me.
One thought is the need to try to avoid swapping to the geany session then back to another project session when swapping between two projects.
--
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/267#issuecomment-343317636
@elextr @scriptum I suggest the following, and will implement it if time allows:
- Remove the ability to store project sesson files in geany.conf (i.e. remove the preference and enable it unconditionally, it's alredy on by default)
- Store session in geany.conf when opening a project
- Restore session when closing the current project
The current state is just awkward and I don't really understand what the preference is about (why would you want to turn it off?). And losing the session is extremely annoying.
--
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/267#issuecomment-343187132