summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_code_widget_private.h (follow)
AgeCommit message (Collapse)Author
2020-03-04elm_code: Improve efficiency of the widget.Alastair Poole
For now, only create textgrids when needed. Also improve other regions of the widget. This will improve large file support and also some rendering of the widget. This improves performance 1-2 times. However, there must be a reasonable redesign regarding the current use of textgrids.
2018-12-06efl: fix misspelt focused in API and documents.Alastair Poole
Fix spelling in elm_code API and other documents too where this occurs. Differential Revision: https://phab.enlightenment.org/D7299
2018-07-27elm_code_widget: fix keyboard and scrolling with active selection.Alastair Poole
Summary: This adds some attributes to the selectiont type in elm_code. Including the type (whether it is mouse or keyboard) and also whether a selection is in progress. Thus we can reliably select around the file and also move/scroll when there is an active selection. Test Plan: Drag and select text with mouse. Also the same with keyboard (hold shift and select). Leave selection active and scroll around the file. The selection should remain and full movement is possible while retaining the active selection. This could really be refactored for a next major release. Reviewers: #committers, ajwillia.ms, cedric Reviewed By: ajwillia.ms Subscribers: zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6676
2018-05-13elm_code_widget: on theme change update the background widget.Alastair Poole
This ensures consistency between the colours of the widget and its parent. When theme changes the whole visible region changes and matches so that it isn't bogus and ugly.
2017-12-13elm_code: Fix tooltip crashAndy Williams
2017-12-07elm_code: Adding initial support for alpha channelAndy Williams
2017-11-09elm_code_widget: keep track of visibility.Al Poole
Keep track of visibility and ensure the cursor can never be filled when hidden. This should finally end any issue with the cursor and visibility with the new focus system. Didn't see this previously until working on Edi's bottom panes which caused redraw on resize of the widgets. @fix
2017-08-23widget: Remove tooltip_add/del from EOJean-Philippe Andre
It's pretty much an internal function. NOTE: Tooltip API is not bound to EO (yet). Ref T5363
2017-05-03elm_code: Expose API for inserting text at cursorAndy Williams
widget operations use NULL terminated strings, backend does not. Refactor some selection code so all selection deletions trigger undo events (except where they should not).
2017-02-01elm_code: add copy/paste/cut undoYeongJong Lee
Summary: The patch for supporting copy,paste and cut undo Test Plan: 1. elementary_test - Code Editor 2. Check that undo work correctly when copy,paste and cut Reviewers: ajwillia.ms Reviewed By: ajwillia.ms Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4636
2016-12-09elm_code: use geometry of cells to paint a simple cursorAndy Williams
Also allows others to figure out where cells are :)
2016-09-11elm: Add popup edit menu in elm_codeAndy Williams
2016-06-14elementary: Fix repeated undo of character deletionAndy Williams
Let's not trigger further undo stack changes when we undo changes.
2016-06-02elementary: merging in elm_code widget.Cedric BAIL
Theme is not there as it should be manually merged into the elementary default theme.