I don't think there is a way to get two different comment colors without
modifying the lexer code and Geany's styling.
However, the "pythonic" way is using triple-quoted strings (or well, I guess
any string will do, but usually documentation is longer than that) as the first
statement in e.g. a function. You can then access this in the `__doc__`
property of the associated symbol.
```python
def foo():
"""This fooes around"""
return 0xf00
print(foo.__doc__)
```
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/3869#discussioncomment-9389051
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/3869/comments/[email protected]>