tootal
8a549ea323
move cursor to end when create new note with title ( #1408 )
...
* disable qtquickcompiler
* move cursor to end when create new note with title
2020-06-06 11:08:36 +08:00
冯文华
fbdc5a5406
editor: add supports for Tencent and gitee image hosting ( #1059 )
...
* 将图床单独提取出来成为一个类
* Split the image hosting code into two classes
* change null to parent
* delect empty line,add p_,rename file and so on
* 增加腾讯图床
* add keep image scale and do not replace link
* adjust image hosting name space
* Increase edit box length
* fix some bug and add gitee image hosting
* Specification code
2019-11-16 14:01:32 +08:00
冯文华
a85c39aa26
Image hosting code refactoring ( #1032 )
...
* 将图床单独提取出来成为一个类
* Split the image hosting code into two classes
* change null to parent
* delect empty line,add p_,rename file and so on
2019-11-08 22:17:53 +08:00
冯文华
c828ef00c4
editor: add supports for GitHub and WeChat image hosting ( #1007 )
...
* 增加了github imagebed的配置窗口
* 已经完成批量上传
* 基本上可以使用
* 基本上可以使用
* 加入进度条
* 就差开始的认证过程
* 差不多就这样了
* 修改中文的readme
* 修改了一下readme
* 找到不能传gif的问题所在
* 修改gif不能上传的bug
* 增加图床使用说明限制
* 增加一些注释
* 将进度条delete调
* 增加大文件上传错误提示
* 修复cancel的问题
* 已知问题: 上传多张图片时, 较大的图片的进度条不一定能出来
* 将进度条弹出来的时候修改成1s后
* 加入wechat设置, 改成QTabWidget
* wechat设置成功
* 成功获取了token
* 先保存一下, 文件上传有bug,替换好像也有bug
* 解决了boundary的引号导致图片不能上传的问题
* 注释掉一些输出
* 加入ip不在白名单的提示
* 增加图片大小大于1M的提示
* 将ip地址设置进剪切板, 并显示在弹框上
* 添加markdown转微信的url设置
* 增加自动打开openwrite的链接, 修复文件大小应为1024*1024
* 改成clear
* 将类型校验放到开始的地方
* 加入openwrite默认为空的判断
* Delete github-imagebed.md
* Apply suggestions from code review
Co-Authored-By: Le Tan <tamlokveer@gmail.com>
* Apply suggestions from code review
Co-Authored-By: Le Tan <tamlokveer@gmail.com>
* Apply suggestions from code review
Co-Authored-By: Le Tan <tamlokveer@gmail.com>
* 根据要求修改了一下
* changed indentation and deleted empty line
* add some tr()
* Delete .DS_Store
* delete some comment and use CamelCase
* resolved sth
2019-11-04 09:59:55 +08:00
Le Tan
70374607bb
Add insert table toolbar button
2018-11-28 19:31:43 +08:00
Le Tan
62c0f218df
MdTab: focus bug fix and find-in-page in expanded preview mode
2018-09-12 20:35:43 +08:00
Le Tan
a055d6e935
Editor: highlight matches of full-text search result in page
2018-09-12 20:34:43 +08:00
Le Tan
647807a918
Editor: refine find logics
2018-09-10 20:26:39 +08:00
Le Tan
d66b4752d4
MdTab: do not scroll editor when it is under the right header while entering edit mode
2018-09-06 21:12:17 +08:00
Le Tan
060c02297b
LivePreview: support bidirectional smart live preview
2018-09-05 20:16:05 +08:00
Le Tan
dc1f1c4535
MdEditor: support pasting HTML as converted Markdown text via Turndown
2018-08-17 22:42:21 +08:00
Le Tan
7f8075f0ca
bug-fix: fix Command+-/= to zoom out/in in read mode on macOS
2018-06-01 17:46:42 +08:00
Le Tan
108ff1543c
make discard action the default one when DiscardAndExit
2018-04-18 20:55:28 +08:00
Le Tan
aa5960f974
preview non-codeblock MathJax
2018-04-18 20:55:14 +08:00
Le Tan
c6b7561864
VMdTab: live preview
2018-04-10 20:58:07 +08:00
Le Tan
051088be31
VMdTab: use splitter instead of tab layout to hold editor and web view
...
Prepare for live preview.
2018-04-10 20:58:07 +08:00
Le Tan
9710659a00
support word count
2018-03-06 19:33:40 +08:00
Le Tan
3bee0365e9
support SavePage action in reading mode
2018-03-01 20:19:38 +08:00
Le Tan
a009126d77
fix compile warning in macOS
2018-01-27 19:05:51 +08:00
Le Tan
06cac36412
support Vim command mode in read mode
2018-01-21 14:27:49 +08:00
Le Tan
333be910cc
enalbe Vim cmd line for searching in read mode
2018-01-19 21:56:21 +08:00
Le Tan
b927a525e2
decouple VVimIndicator and VVimCmdLineEdit
2018-01-19 19:29:34 +08:00
Le Tan
2f1971476d
VMdEditor: support copy selected text as HTML
2018-01-04 13:27:42 +08:00
Le Tan
03122a24db
bug-fix: fix images when cutting files
...
1. De-duplicate the images occur multiple times in the note;
2. Refresh the read mode and edit mode preview after the directory path
change;
3. Update init images and inserted images after the directory path
change;
2017-12-21 21:02:56 +08:00
Le Tan
7fd5ec26e5
bug-fix: restore header from edit mode after web side logic is ready
2017-12-21 21:02:56 +08:00
Le Tan
49811cabc0
VTextDocumentLayout: support cursor line block background
2017-12-08 19:31:19 +08:00
Le Tan
cb6338ecf6
add heading tool button
2017-11-24 19:56:41 +08:00
Le Tan
e6ce66ec7d
support backup file
...
Add configs:
- backup_directory
- backup_extension
- enable_backup_file
2017-11-17 19:49:14 +08:00
Le Tan
141b404240
support file change check
2017-11-16 11:34:13 +08:00
Le Tan
0a97b2480d
snippet: support Ctrl+E S to insert snippets
2017-11-14 21:40:39 +08:00
Le Tan
6ac33d2bd0
support snippets
...
Shortcuts are not supported yet.
2017-11-11 08:09:22 +08:00
Le Tan
404b5329a1
replace VEdit and VMdEdit with VEditor and VMdEditor
2017-10-26 19:36:12 +08:00
Le Tan
73ee02d3b2
support editing read-only files
2017-10-22 21:26:39 +08:00
Le Tan
e66b70b6ff
support Insert Link tool bar button
...
Support Ctrl+L to insert a link.
2017-10-19 19:42:50 +08:00
Le Tan
92bc044cac
metaword: support Ctrl+E M in editor to evaluate metawords
...
Add shortcut configuration MagicWord.
2017-10-19 19:41:57 +08:00
Le Tan
2b299ff9b7
refine heading sequence
...
1. add toolbar button to enable/disable heading sequence of current
note temporary;
2. Support independent configuration for external files;
3. Change enable_heading_sequence configuration to heading_sequence_type;
2017-10-13 07:23:25 +08:00
Le Tan
183b24915a
refactor outline logics
2017-10-13 07:10:04 +08:00
Le Tan
598e8144bb
support custom startup pages
...
- Support continuing where user left off on startup;
- Support recovering the edit/read mode and the anchor position;
- Support opening user-specified files on startup;
- Add config startup_page_type, startup_pages, and last_opened_files;
2017-10-11 10:44:18 +08:00
Le Tan
84d1648fe4
bug-fix: move cursor to the end after creating new note
...
focusWidget() is NULL in Linux.
2017-09-12 21:16:47 +08:00
Le Tan
301879c50c
edit-tab: init editor at the first time entering edit mode
...
Do not init the editor if we just open a note in read mode to speed up.
2017-07-10 13:23:07 +08:00
Le Tan
f9f7a365f8
add toolbar for text editing
...
Bold, italic, underline, strikethrough, inline code.
Underline and strikethrough are not implemented yet.
2017-07-04 14:07:48 +08:00
Le Tan
5c17f74641
add indicator in status bar for edit tab
2017-06-21 20:01:33 +08:00
Le Tan
d909091f46
vim-mode: add an indicator for Vim status in status bar
2017-06-19 15:56:12 +08:00
Le Tan
c15908a724
support highlighting current line by whole block in Vim non-Insert mode
2017-06-11 19:58:43 +08:00
Le Tan
a44259e66c
bugfix: implement focusChild() of VMdTab and VHtmlTab to fix focus issue
2017-06-11 17:46:34 +08:00
Le Tan
97051badf0
refactor TOC logics
2017-06-01 13:21:17 +08:00
Le Tan
306b3cca92
refactor VEditTab
...
1. Make VEditTab an abstract class.
2. Use VMdTab inheriting from VEditTab for Markdown file.
3. Use VHtmlTab inheriting from VEditTab for Html file.
2017-05-30 21:05:24 +08:00