Commit Graph

22 Commits

Author SHA1 Message Date
Mitch Capper
b6754741f9 Remember the file's scroll position as long as it stays open
By default returns the user to the same scroll position on a document where they left off (except if changed to code editing before switching back, or vice versa). Only saved in memory could be added to future session saves for #998.
2022-03-16 15:53:27 -07:00
Felix Häusler
d95506751b
Ignore watcher event if mtime doesn't changed (#3057) 2022-02-22 21:44:56 +01:00
Felix Häusler
10a94ebf1d
Update changelog (#2887) 2022-01-29 16:25:35 +01:00
Felix Häusler
4c0d960bcc
Fix preference migrations (#2811)
Preference migrations were always applied because 'store.set' didn't
remove old entries.
2021-12-27 16:22:43 +01:00
Rodrigo C
6492e00402
Add support to PlantUML diagrams (#2625)
* Add support to PlantUML diagrams

* Add plantuml icon files (copy of sequence's)

* Add PlantUML to docs and rename PlantUML internal render function

* Remove underscore from PlantUML renderer
2021-12-27 23:09:14 +08:00
bolshoytoster
2ed5a85012
Removed the space in 'Mark Text' (#2763) (#2782)
* Removed the space in 'Mark Text' (#2763)

Literally just replaced all occurances of 'Mark Text' with 'MarkText' using sed.

This is directly related to #2763.

* Revert changes to .github directory

Reverted changelog etc.

* Added `cs` alias for `csharp` in code blocks (Fixes #2760)

* Added error handler in the renderer process (should fix #2758)

The `src/muya/lib/contentState/clickCtrl.js` file will now return if
`document.querySelector` fails to find an element.
2021-12-25 21:05:58 +08:00
Beni Cherniavsky-Paskin
c7735df5f4
build instructions: Correct case for libX11 (#2492) 2021-12-23 18:50:15 +01:00
Felix Häusler
c86f53ad99
Update actions and enable Windows pipeline (#2727) 2021-12-05 16:27:59 +01:00
Felix Häusler
e4b33816cf
Upgrade to N-API and Electron 11 (#2422)
* Upgrade to N-API and Electron 11

* Update Electron and remove workaround

* Fix ESLint error
2020-12-18 18:25:59 +08:00
saymoon
6892a14393
Fix typo (#2118) 2020-05-16 21:03:39 +08:00
Sebastiaan Lokhorst
6491add217
Update BUILD: node-gyp supports python 3 (#1978)
According to official information from https://github.com/nodejs/node-gyp
2020-03-17 19:07:03 +01:00
Felix Häusler
09b067e371 Update documentation (#1819) 2019-12-17 10:50:10 +08:00
Felix Häusler
245962a6a1 Add Windows spell checker and fixes (#1624)
* Add Windows spell checker and fixes

* Fix build failure on macOS

* Fix preference visibility
2019-11-08 00:25:24 +08:00
罗冉
e0ac7dbad7 modify the event prefix between main and renderer process 2019-11-05 13:36:39 +08:00
Felix Häusler
f142dea160
Add command palette and quick open dialog (#1493)
* Add command palette and quick open dialog

* Fix format and paragraph commands

* Adjust style and allow to reset list/quote

* Adjust UI and fix some issues

* Add custom placeholder
2019-11-04 19:50:50 +01:00
Ran Luo
7377de3c12
Feat footnote (#1546)
* feat: footnote identifer

* feat: add update to footnote

* modify some style

* Create footnote from identifier and backlink

* handle backspace in footnote

* export markdown

* add export html

* add export style

* modify style

* feat: add footnote setting option

* fix some bugs

* feat: fix [^longnote] is not auto numbered in exported document but in footnotes.

* Enter to create footnote

* modify some style of footnote

* update footnote icon and add highlight format icon button

* fix #1568
2019-11-02 22:51:05 +08:00
罗冉
3f74a8809f handle backspace in footnote 2019-10-28 11:59:51 +08:00
Felix Häusler
8436aeb499 Update documentation (#1548)
* Update documentation

* Remove <br> due to issues with preview
2019-10-28 07:53:30 +08:00
Ran Luo
289b17c015 Optimization of table block (#1456)
* Prepare for drag and drop row and column

* remove regexp th|td

* render drag button

* Feat: support drag and drop row and column of table

* Feat: table bar tools

* remove unnecessary codes

* Feat: support select multiple cells

* Do not show table drag bar when selected cells

* Feat: support delete selected cells content or remove row/column/table

* Feat: select one cell or table when press ctrl + a

* Support select all content

* Remove table tools in context menu

* Feat: support copy paste selected cells as sub table

* Fix: PR issue 1 press tab will not show the table drag bars

* Select one cell and press backspace will cause bug

* Fix: The table drag bar location error when there are tow tables in the editor

* Fix unable copy and paste 1* n or n * 1 table

* Drag any row to the top to editor will cause error.

* Update table resize icon

* Fix: table resize is not work in table tool bar

* Fix: No need to show left drag bar if only one row, and no need to show bottom drag bar if only one column.

* Fix: Create an empty table in source code mode, turn to preview mode, there are more than two drag bars in one table.

* Fix: resize table

* Opti: table is not 100% width now

* Fix drag in one row or column

* Change table delete icon

* Fix: backspace is not work

* Little style opti

* Fix: cmd + enter bug

* Update the table drag bar context menu text

* Handle delete key when select table cells

* remove all unnecessary debug codes

* Feat: support cut selected cells and copy/cut by context menu

* Fix typo

* Rename some methods name

* Fix an issue when drag and drop table drag bar

* fix do not handle cell selection when the context menu shown

* Do not handle select cells when mouse up outside table
2019-10-13 13:23:00 +02:00
Ran Luo
5b8da2cdf4
Optimization of code block (#1445)
* duplicate css rule

* remove all codeLine

* Fix: #1446

* Fix #942 #1310

* Fix copy paste will add one more empty line in code block

* remove debug codes

* Fix update thematic break error

* fix: #1447

* Update octokit/rest and url-loader

* Fix: CI test error

* Fix comment issue1

* Fix: escape charachters in code block
2019-10-08 14:12:51 +08:00
Felix Häusler
c85050b340 Update documents (#1439) 2019-10-03 23:07:53 +08:00
Felix Häusler
63d41155ab Update documents (#1411) 2019-10-01 11:58:44 +08:00