Commit Graph

23 Commits

Author SHA1 Message Date
takase1121 4c320a10c0
docs(system): make all parameters for set_window_hit_test optional 2023-08-19 12:45:48 +08:00
Guldoman 24179bbb23
Merge pull request #1245 from Jan200101/PR/touch-event
add touch events
2022-12-21 00:13:52 +01:00
Jefferson González 3c64c32379
core: ported regex.gsub to faster native version (#1233)
* added regex.gmatch iterator and other fixes
* fixed issues reported by Guldoman
* push strings with fixed len just in case for binary safety
* added limit to regex.gsub and use pushinteger
* added description to regex.gsub limits param
* replaced substitutions regex description for correctness
* ignore negative limits on regex.gsub
2022-12-20 17:46:37 -04:00
Jan200101 b137d77183
add touch events 2022-12-20 09:30:58 +01:00
Guldoman 9d48441685
Add `regex.find_offsets`, `regex.find`, improve `regex.match` (#1232)
`regex.match` now behaves like `string.match`.
This required changes in the `tokenizer` and in the `detectindent` 
plugin.
2022-12-11 22:25:42 -04:00
jgmdev 7bb86e16f2 docs api: added dirmonitor 2022-11-30 01:14:40 -04:00
jgmdev 563fa7f29e docs api: minor corrections 2022-11-30 01:11:13 -04:00
Takase 718791857b
update documentation for system (#1210) 2022-11-23 23:38:06 -04:00
Jefferson González ba0a454c97
system: added raise_window() (#1131) 2022-09-29 11:31:55 -04:00
jgmdev a4713505f0 docs: documented ARCH global. 2022-09-22 12:37:07 -04:00
Aqil Contractor 9b1bfeacac
Added a smoothing and strikethrough option to font loading. (#1087)
* Added a smoothing option to font loading.
* Added a font strikethrough option to font loading.
* Fixed underline applying incorrectly in cases of non-underlined fallback fonts being used.

Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
2022-08-20 16:15:08 -04:00
jgmdev d2f9eeea07 renderer fonts: additions and improvements
* Allow passing font options to renderer.font:copy().
* Added renderer.font:get_path()
* Reintroduced set_size() for more faster font size changes
* Swapped copy wiht set_size on scale plugin for better performance
* Use code_font:copy() instead of renderer.font.load() on language_md to
  properly match user font now that font options are supported on copy.
* Added new changes to renderer docs
2022-06-23 18:08:04 -04:00
jgmdev 8bda5d4198 docs: added font.group to renderer and other adjustments 2022-05-14 20:16:59 -04:00
jgmdev 359880e963 c core: fix extra utf8 build conflict on windows 2022-05-11 00:22:01 -04:00
Jefferson González e572c58f24
Add utf8 support to tokenizer (#945)
* add utf8 support to tokenizer

* wrap utf8 functions in string table using a 'u' prefix

* document new utf8 functions
2022-04-26 09:42:02 -04:00
jgmdev feaa3b2547 Docs: changes process start from method to function. 2022-02-15 20:49:46 -04:00
jgmdev aec6806d8f Added system.get_process_id() to api docs. 2022-02-04 15:43:42 -04:00
Takase f2ff32d5a7
Merge pull request #583 from takase1121/process-docs-update
update process API docs
2021-12-20 20:06:18 +08:00
Joshua Minor 272ecd64bf Removed docs for get_width_subpixel and subpixel_scale which no longer exist. 2021-11-26 23:27:33 -08:00
Cukmekerb 3867ff2be7
Document bold, italic, and underlined font rendering 2021-11-05 14:35:58 -07:00
Takase b128d8b4c4
update process API docs
- add more description to each option
- add disclaimer that process.REDIRECT_DEFAULT should no longer be used
2021-10-04 12:32:48 +08:00
jgmdev 900e9d1422 Namespaced aliases, virtual classes and added missing returns. 2021-07-09 18:33:25 -04:00
jgmdev bd50401687 Documented with EmmyLua the C API using .lua interface files. 2021-06-25 02:25:05 -04:00