Jan Wester
0238ccec7b
Fixed #549 and refactored the image tooltip also
...
Issue #549 was caused because the request and reply object urls are not
guaranteed to be the same. Redirects are the most common cause, but a
malformed URL apparently also qualifies. We now make sure to look at the
original request.
Because the code confused me while I was working on it, I decided to
refactor and document it in order to understand what was going on. I am
glad I did: I found another crashing bug involving the rapid-firing of
tooltip requests, and the processing dict never had its entries removed
either, leading to a (very slow) memory leak over time.
All is good in the world of image tooltips now.
2019-04-23 12:25:39 -06:00
Youness Alaoui
c3c9eef415
Do not default spellcheck to True for new editor views
...
default spellcheck to the settings value instead. Otherwise any new editor tab
will have spellcheck enabled regardless of setting.
Fixes #474
2019-02-25 12:58:00 -07:00
Curtis Gedak
7f592bae41
Fix Python 3.6 DeprecationWarning invalid escape sequence messages
...
Fix by ensuring that regular expressions are constructed using either
raw string literals [1] or double backslashes [2].
[1] https://stackoverflow.com/questions/44325948/pandas-invalid-escape-sequence-after-update
[2] https://github.com/joblib/joblib/pull/526
Note that python only shows the deprecation warnings on initial run [3].
[3] https://bugs.python.org/issue30091
To work around this issue, remove the cached bytecode with:
find . -name "__pycache__" -exec rm -rf {} \;
Then to prevent compiling to bytecode add the "-B" option to python:
python3 -B -m pytest -vs
2018-11-16 12:52:56 -07:00
Olivier Keshavjee
19f8938852
Corrects bug in links tooltips
2017-12-15 20:12:51 +01:00
Olivier Keshavjee
a6a82d1bba
Clickable links: adds tip to tooltip
2017-12-14 15:06:51 +01:00
Olivier Keshavjee
cd8ad6cc3a
Adds: clickable links, and display images as tooltips ( #22 , #215 )
2017-12-14 14:55:14 +01:00
Olivier Keshavjee
1764baf292
Fixes a bug introduced when fixing #261
2017-12-06 18:53:42 +01:00
Olivier Keshavjee
d521fc0771
Fixes #261 : Manuskript response slow with recent addition of focus mode
2017-12-06 18:41:26 +01:00
Olivier Keshavjee
46384b68eb
Fixes bugs in focus mode ( #259 )
2017-12-05 23:45:16 +01:00
Olivier Keshavjee
826d53933f
Adds #259 : Focus Mode (poke #234 )
2017-12-05 23:18:32 +01:00
Olivier Keshavjee
92e5c351b7
Adds: smart formatting on keypress
2017-11-30 13:21:40 +01:00
Olivier Keshavjee
f3156f5bbd
Adds formatting support to MDEditView
2017-11-30 13:12:55 +01:00
Olivier Keshavjee
c504cb510e
Fixes fullScreen scrollbar range
2017-11-28 19:58:23 +01:00
Olivier Keshavjee
2b1465a1f3
Adds #175 : Typewriter scrolling
2017-11-28 10:26:43 +01:00
Olivier Keshavjee
9baea11791
Fixes FullScreenEditor with MDEditView
2017-11-27 21:13:44 +01:00
Olivier Keshavjee
7b29d332c5
Removes textFormat panel (bold, italic, etc. buttons)
2017-11-27 20:58:02 +01:00
Olivier Keshavjee
c1ad771642
Subclass textEditView
2017-11-27 15:00:07 +01:00