• Markus Böhme's avatar
    Rework message highlighting in the history window to not use timestamps · d75ebd95
    Markus Böhme authored
    Search results in the history window to are scrolled to and highlighted
    once the user clicks on one of them. Messages are searched by text in
    the log database, but then looked up in the history text buffer via a
    visible or invisible timestamp obtained from the database record.
    
    Timestamps in the history text buffer, depending on user configuration,
    may only have a coarse granularity. Philipp Hörist discovered that this
    may lead to the highlighting of the wrong line in the history text view
    and proposed an alternative solution that is implemented in this patch.
    
    Timestamps are abolished as a means of searching messages. Instead, add
    a mark with the unique message id (log line id) at the start of every
    message in the history text buffer when the conversation is loaded.
    After fetching the search results from the database this id can be used
    to unambiguously find the corresponding message in the history text
    buffer.
    d75ebd95
Name
Last commit
Last update
data Loading commit data...
debian Loading commit data...
doc Loading commit data...
icons Loading commit data...
m4 Loading commit data...
plugins Loading commit data...
po Loading commit data...
scripts Loading commit data...
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.md Loading commit data...
THANKS Loading commit data...
THANKS.artists Loading commit data...
appveyor.yml Loading commit data...
autogen.sh Loading commit data...
build.bat Loading commit data...
configure.ac Loading commit data...
dependencys.ps1 Loading commit data...
gajim-portable.nsi Loading commit data...
gajim.nsi Loading commit data...
launch.bat Loading commit data...
launch.sh Loading commit data...
pylintrc Loading commit data...
requirements.txt Loading commit data...
setup_win32.py Loading commit data...