Commit Graph

10 Commits

Author SHA1 Message Date
Michael Drake
fa64d91d12 Switch to new libcss API for unit conversion. 2021-05-30 11:52:33 +01:00
Vincent Sanders
652078f8cf fix erronenous child variable assignment 2020-07-12 18:49:47 +01:00
Vincent Sanders
313e5cabba ensure the html layout is present for text selection
The text selection operations can be called regardless
  of when the html layout box tree is actually
  available (e.g. if it is still loading when opened)

This change ensures the layout box tree is available before
  attempting to traverse it for a selection operation.
2020-07-12 13:47:52 +01:00
Vincent Sanders
8673b035f0 commit a neatness in teh html content handler text selection code 2020-05-24 11:19:10 +01:00
Vincent Sanders
1161029d29 remove unecessary content handler specific selection creation 2020-05-23 23:00:08 +01:00
Vincent Sanders
2ea577c47e remove unused is_html parameter to text selection routines 2020-05-23 23:00:08 +01:00
Vincent Sanders
a8c540ea59 move content specific selection end to content handlers 2020-05-23 23:00:08 +01:00
Vincent Sanders
cfe57002fe remove unused css length usage in selection 2020-05-23 23:00:08 +01:00
Vincent Sanders
e65e41e2d6 move content handler specific selection copying into handlers 2020-05-23 23:00:08 +01:00
Vincent Sanders
36b9262e14 split selection redraw into content handler specific implementations 2020-05-23 23:00:08 +01:00