Commit Graph
100 Commits
Author SHA1 Message Date
AdamandGitHub 4b3d25e15a Merge pull request #657 from takase1121/plugin_api_h_fix
fixing native plugin API
2021-12-05 22:11:53 -05:00
AdamandGitHub 8120654c59 Merge branch 'master' into plugin_api_h_fix 2021-12-05 22:11:47 -05:00
AdamandGitHub 2997aa2652 Merge pull request #705 from Guldoman/check_if_proj_dir
Check the entire path in `TreeView` predicate
2021-12-05 14:23:34 -05:00
AdamandGitHub a70e7e945e Merge pull request #712 from Nightwing13/dev
Improved Markdown syntax highlighting
2021-12-05 14:15:53 -05:00
AdamandGitHub 7b82d787c0 Merge pull request #702 from adamharrison/fix-project-ignores
Used basenames for ignore_files rather than full paths.
2021-11-27 14:33:03 -05:00
Adam Harrison 01e38f041a Used basenames for ignore_files rather than full paths. 2021-11-27 13:16:49 -05:00
AdamandGitHub a607ef95f9 Merge pull request #682 from Guldoman/indent_refactor
Refactor how to get the indentation of a `Doc`
2021-11-27 11:55:36 -05:00
AdamandGitHub 4767ffe58d Merge pull request #693 from adamharrison/fix-scrollbar-split
Added in check to make sure you can use a scrollbar on a split.
2021-11-27 11:44:22 -05:00
AdamandGitHub 1b22c85dd5 Merge pull request #694 from adamharrison/fix-context-menu
Added in cut, copy and paste to the context menu, amongst other things.
2021-11-27 11:44:10 -05:00
AdamandGitHub e56fd4c05a Merge pull request #701 from jminor/master
Removed docs for *_subpixel functions which no longer exist
2021-11-27 10:00:09 -05:00
AdamandGitHub 3e79595e24 Merge pull request #695 from adamharrison/additional-scale-variables
Added in additional environment variables to scale off of.
2021-11-26 22:07:32 -05:00
AdamandGitHub 4e078cc217 Merge pull request #697 from Guldoman/treeview_remove_changed
Remove changed files/dirs from `TreeView` cache
2021-11-26 22:07:19 -05:00
AdamandGitHub fe6ba4adb7 Merge pull request #696 from adamharrison/fix-lineguide
Added an exclusion for lineguide in the commandview.
2021-11-24 13:28:04 -05:00
AdamandGitHub 9b24563b84 Merge pull request #692 from adamharrison/draw-whitespace-color
Added in the ability to specify a color for whitespace.
2021-11-24 13:23:34 -05:00
Adam Harrison f7b3a2b0c2 Added an exclusion for lineguide in the commandview. 2021-11-23 22:35:11 -05:00
Adam Harrison 7ee23da187 Added in additional environment variables to scale off of. 2021-11-23 22:30:35 -05:00
Adam Harrison 463605ff41 Fixed event propogation. 2021-11-23 21:56:07 -05:00
Adam Harrison 64f66e5d1e Added in cut, copy and paste to the context menu. Also removed find pattern, as that's no longer a valid command. Also made it so commands only show up if their predicates are valid. 2021-11-23 21:03:38 -05:00
Adam Harrison cc3fddd1e5 Added in check to make sure you can use a scrollbar on a split. 2021-11-23 20:34:01 -05:00
Adam Harrison 3162f4ea4f Added in the ability to specify a color for whitespace. 2021-11-23 18:42:01 -05:00
AdamandGitHub d7b6fe3d42 Merge pull request #688 from adamharrison/mono-font
Add Support for `none` Antialiasing
2021-11-23 15:59:07 -05:00
Adam Harrison 96db380c73 Manual merge of into . 2021-11-23 15:57:22 -05:00
AdamandGitHub 43a6e21135 Merge pull request #681 from Guldoman/prepopulate_highlighter
Prepopulate highlighter
2021-11-23 15:38:20 -05:00
Adam Harrison bc5be3c9b7 Support no antialiasing. 2021-11-22 18:13:43 -05:00
AdamandGitHub 9869484ec6 Merge pull request #683 from Guldoman/named_languages
Add names to language plugins
2021-11-22 11:41:49 -05:00
AdamandGitHub 724faf8dcf Merge pull request #684 from jminor/treeview_color
Allow for color overrides in the tree view
2021-11-21 20:16:07 -05:00
AdamandGitHub b2940d6dc0 Merge pull request #680 from jminor/mouse_selection_snapping
Fixed regression in mouse selection behavior
2021-11-19 12:57:23 -05:00
AdamandGitHub 16679dcbce Merge pull request #676 from Guldoman/optimize_whitespace
Draw only visible whitespaces
2021-11-16 21:11:41 -05:00
AdamandGitHub 0525e6e96a Merge pull request #435 from takase1121/replace-unpack
replace unpack() with table.unpack()
2021-11-16 19:49:00 -05:00
Adam Harrison 18959aebef Fixed predicate and minor propogation issue. 2021-11-16 19:12:39 -05:00
AdamandGitHub c58029df8b Merge pull request #589 from adamharrison/clicks-keymap
Added in clicks to keymap.
2021-11-16 15:49:52 -05:00
AdamandGitHub 0ab0abec4b Merge pull request #516 from takase1121/keymap-improvements
add keymap.unbind(), update contextmenu to use keymap.get_binding()
2021-11-15 09:04:17 -05:00
AdamandGitHub ca448c5fdb Merge pull request #664 from Guldoman/highlight_caret_line
Highlight any line that contains a caret
2021-11-14 16:27:25 -05:00
AdamandGitHub a7bbd3d6f7 Merge pull request #666 from Guldoman/no_restore_title
Restore `TitleView` only when needed
2021-11-14 15:59:26 -05:00
Adam Harrison 2463c5d209 Made keymap more flexible. 2021-11-14 15:51:27 -05:00
Adam Harrison 6750ddca2a Changed name of x1 and x2 to x and y. 2021-11-14 15:46:33 -05:00
Adam Harrison acc6667f57 Bug. 2021-11-14 15:45:46 -05:00
Adam Harrison d8473a3e00 Changed click prefixes to be numbers, as Takase suggested. 2021-11-14 15:44:54 -05:00
Adam Harrison 2931bdeb68 Can't forget mac. 2021-11-14 15:41:28 -05:00
Adam Harrison 50c0659445 Also changed docview mousewheel into a scroll command. 2021-11-14 15:41:28 -05:00
Adam Harrison 7babed1e6b Added in more broad strokes for clicking to match wheel. 's' is single, 'd' is double, 't' is triple, and no prefix will always take any amount of clicks. 2021-11-14 15:41:28 -05:00
Adam Harrison 7a3e8ed86a Added in mousewheel as part of this. 2021-11-14 15:41:28 -05:00
Adam Harrison c04dc648de Refactored things out. 2021-11-14 15:41:28 -05:00
Adam Harrison 1968d31b7c Keymap. 2021-11-14 15:41:28 -05:00
Adam Harrison 6bdcfc824d Rearranged things to make a bit more sense. 2021-11-14 15:41:28 -05:00
Adam Harrison 7905ddd26f Fixed propogation again. 2021-11-14 15:41:28 -05:00
Adam Harrison 4e313d9fc5 Propogated mouse clicks correctly. 2021-11-14 15:41:28 -05:00
Adam Harrison ce2ec9f442 Moved commands out to the outer event loop. 2021-11-14 15:41:28 -05:00
Adam Harrison 6f53ee1b69 Added in double, and triple clicking. 2021-11-14 15:41:28 -05:00
Adam Harrison 4a0d390a7c Added in macos keys. 2021-11-14 15:41:28 -05:00
Adam Harrison 612818ca05 Added in clicks to keymap. 2021-11-14 15:41:28 -05:00
AdamandGitHub 09bf8bab2f Merge pull request #659 from adamharrison/deterministic-plugin-load-order
Made plugin load order deterministic.
2021-11-14 15:41:00 -05:00
Adam Harrison 1376eaf54d Made varaible anonymous. 2021-11-14 15:40:23 -05:00
AdamandGitHub 0db3648966 Merge pull request #660 from adamharrison/improved-heuristic
Improved heuristic to pay more attention to string length.
2021-11-12 17:47:46 -05:00
Adam Harrison 5b8c08e93a Missing parentheses. 2021-11-07 17:57:15 -05:00
Adam Harrison 24669293c7 Made it so that we originally start on the parent directory of the current project, but provide a list of recently used projects if on that directory. If a directory separator is added, then everything is as normal. 2021-11-07 17:54:42 -05:00
AdamandGitHub 3b38e7c351 Merge pull request #661 from Guldoman/open_in_right_node
In `TreeView` add `DocView` to the correct `Node`
2021-11-07 17:19:23 -05:00
AdamandGitHub 4e26a9fb2d Merge pull request #621 from adamharrison/fix-renderer-mappings
Handles occasions where our color bytes aren't in the order we expected.
2021-11-07 15:30:57 -05:00
AdamandGitHub 40f698e4bf Merge pull request #625 from Guldoman/allow_closing_primary
Select a new primary node when closing the current one
2021-11-07 15:10:19 -05:00
AdamandGitHub b7042fd9f7 Merge pull request #631 from Guldoman/fix_missing_subsyntax
Use `header` to get syntax only when provided
2021-11-07 15:09:50 -05:00
Adam Harrison 934f9c05d4 Screwed up checks. 2021-11-07 15:01:03 -05:00
Adam Harrison a184ec9cc3 Improved heuristic to pay more attention to string length. 2021-11-07 14:04:42 -05:00
AdamandGitHub 4b6a6a76f7 Merge pull request #656 from vincens2005/patch-2
Document bold, italic, and underlined font rendering
2021-11-07 13:42:57 -05:00
Adam Harrison 05dcddaeec Made plugin load order deterministic. 2021-11-07 13:14:48 -05:00
AdamandGitHub c1a5e6e16d Merge pull request #632 from Jan200101/PR/label-workflow
Add auto labeler workflow
2021-11-06 17:59:02 -04:00
AdamandGitHub 286183f917 Merge pull request #634 from Guldoman/fix_highlighter_holes
Don't insert `nil` in highlighter lines table
2021-11-04 20:45:03 -04:00
AdamandGitHub dd9fc72fbd Merge pull request #646 from adamharrison/expand-renderer-for-emojis
Expand glyphsets to accomodate emojis.
2021-11-02 12:41:40 -04:00
AdamandGitHub faea2a7f91 Merge pull request #648 from piotrek94692/patch-1
Use Python syntax highlighting for Ren'Py scripts.
2021-11-02 09:03:24 -04:00
AdamandGitHub 90714c48e1 Update renderer.c
Upped limit to 1024.
2021-11-01 10:03:36 -04:00
AdamandGitHub 920982cbe7 Merge pull request #629 from Guldoman/avoid_patterns_search
Use plain search by default in `search.find`
2021-10-31 13:55:30 -04:00
Adam Harrison b7cb7e2b67 Just added MAX. More inline with other constant. 2021-10-31 13:34:46 -04:00
Adam Harrison 9e67995feb Expand glyphsets to accomodate emojis. 2021-10-31 13:27:51 -04:00
AdamandGitHub 033575c9f4 Merge pull request #644 from Jan200101/PR/alignment
ensure command alignment is correct
2021-10-30 16:15:01 -04:00
Adam Harrison 461533eabf Handles occasions where our color bytes aren't in the order we expected. 2021-10-20 18:43:22 -04:00
AdamandGitHub 3f1378ab2e Merge pull request #616 from adamharrison/font-groupings
Added in support for fallback font groupings.
2021-10-20 11:00:40 -04:00
AdamandGitHub c973b9306b Merge pull request #619 from adamharrison/fix-alpha-rendering
Changed font rendering computation to take into account alpha blending.
2021-10-20 11:00:01 -04:00
Adam Harrison b816a04d27 Added in a missing static. 2021-10-17 00:39:08 -04:00
Adam Harrison 16fc15daee Allowed for a white square as part of the other groups. 2021-10-17 00:26:20 -04:00
Adam Harrison cab315bed1 Added in a rectdraw when a fallback glyph isn't present. 2021-10-17 00:22:27 -04:00
Adam Harrison c7c4a3c528 Clarified. 2021-10-17 00:10:40 -04:00
Adam Harrison d1fcdacacd Broke out font groupings. 2021-10-16 23:49:42 -04:00
Adam Harrison 7575d2eee6 Fixed minor issue. 2021-10-16 23:32:17 -04:00
Adam Harrison 3092dca919 Changed computation to take into account alpha blending. 2021-10-16 22:59:41 -04:00
Adam Harrison f2488fdd8d Added in support for font groupings. 2021-10-12 23:24:52 -04:00
AdamandGitHub 3e2b0f28c8 Merge pull request #596 from adamharrison/fix-clip-boundaries
Fixed clip boundaries.
2021-10-12 21:51:52 -04:00
Adam Harrison 7c1ff0f3d8 Fixed writing before clip. 2021-10-12 21:22:02 -04:00
Adam Harrison d2e16ce0b5 Fixed clip issues if glyph exists before clip.x 2021-10-11 22:29:53 -04:00
Adam Harrison fe787de97a Fixed clip boundaries. 2021-10-07 18:54:23 -04:00
AdamandGitHub 6264caffe1 Merge pull request #576 from adamharrison/fix-negative-pens
Fixed negative pens.
2021-10-02 16:31:42 -04:00
Adam Harrison 26ec2d7090 Fixed negative pens. 2021-10-02 14:13:39 -04:00
AdamandFrancesco Abbate 6aa316e3c3 Rearranged DPI calc so that on calc failure, returns 1. (#547) 2021-10-02 18:39:21 +02:00
AdamandFrancesco Abbate ed3ea35ed5 Potentially fixing issue with cache not invalidating on restart. (#548) 2021-10-02 18:39:21 +02:00
Adam HarrisonandFrancesco Abbate 291616df3f Removed extra macros, used PLATFORM. Also removed MACOS, as it's redundant C code that's already encapsulated within PLATFORM. 2021-10-02 18:39:03 +02:00
AdamandFrancesco Abbate ab73f914ad Added in custom runtime environment variable for ease of testing. (#538) 2021-10-02 18:37:00 +02:00
Adam Harrison f80f920bda Added in suggested changes. 2021-10-02 12:25:52 -04:00
Adam Harrison ee61b34084 Turned off whitespace by default. 2021-10-02 12:23:32 -04:00
Adam Harrison c5f60a7865 Fixed issues if one got into high codepoint ranges. 2021-10-01 23:56:36 -04:00
Adam Harrison 531cd3bedb Fixed issue with metrics. 2021-10-01 21:20:44 -04:00
AdamandGitHub f0a3f50e6a Merge pull request #551 from Not-a-web-Developer/master
fixed the build link in readme.md
2021-09-27 10:21:41 -04:00
Adam Harrison 7a21ec382f Unecessary call.. 2021-09-26 20:09:51 -04:00