]> jfr.im git - irc/weechat/weechat.git/commit
core: add identifier in buffer lines (closes #901)
authorSébastien Helleu <redacted>
Fri, 11 Nov 2022 08:35:11 +0000 (09:35 +0100)
committerSébastien Helleu <redacted>
Fri, 11 Nov 2022 08:42:20 +0000 (09:42 +0100)
commitbab73cfaa5db96494a1b96b85c9eac9e7680854d
tree40d399bdc3ef78ffece6ba4897bae80337d8b639
parent8c44dc53eb2d72a5f823fbf21eefc60cb58d882e
core: add identifier in buffer lines (closes #901)

For buffers with formatted content, the "id" starts to 0 on each buffer and is
incremented on each new line displayed (it is reset to 0 if reaching INT_MAX).

For buffers with free content, the "id" is set to the same value as "y" (ie the
line number, starting to 0).
15 files changed:
ChangeLog.adoc
doc/de/includes/autogen_api_hdata.de.adoc
doc/en/includes/autogen_api_hdata.en.adoc
doc/fr/includes/autogen_api_hdata.fr.adoc
doc/it/includes/autogen_api_hdata.it.adoc
doc/ja/includes/autogen_api_hdata.ja.adoc
doc/pl/includes/autogen_api_hdata.pl.adoc
doc/sr/includes/autogen_api_hdata.sr.adoc
src/core/wee-upgrade.c
src/gui/gui-buffer.c
src/gui/gui-buffer.h
src/gui/gui-line.c
src/gui/gui-line.h
tests/unit/gui/test-gui-buffer.cpp
tests/unit/gui/test-gui-line.cpp