Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/cpeditor/QCodeEditor
Qt Code Editor widget. Now deprecated and will no longer be maintained by the CP Editor team.
https://github.com/cpeditor/QCodeEditor
It conflicts with -std=gnu++17 and fails to build with CMake 3.26
ed1196a91dd6415c5ad6d0e85a90630e9b3b9f6c authored almost 2 years ago by Yufan You <[email protected]>
1. https://invent.kde.org/qt/qt/qtbase/-/commit/6e8ad7201826e75601d902eea741380e37222fc7
req...
* clazy: Fix clazy-function-args-by-ref.
* clazy: Fix clazy-qstring-arg.
* clazy: Fix claz...
ca5f949b065e23b8a0a75b06b6ffa9df3551368b authored over 3 years ago by Frank <[email protected]>* feat: Press Escape key to cancel select
* Address review comments
cf5e3e1cfc3b308045e4747c359bf121adbd20bc authored over 3 years ago by Sonu Lohani <[email protected]>32719697664220911921b4c9f3bb09cdb43166ce authored over 4 years ago by Jean-Michaël Celerier <[email protected]>
perf: fix the performance issue of the line number area
97cdee8a47a0c6d61a1587d23e6f26b870333936 authored over 4 years ago by Ashar <[email protected]>This fixes #26.
4b981c43fa3ecc31988c08702f57993deeb4cb08 authored over 4 years ago by Yufan You <[email protected]>baf096a7f2d4898913640f9f0bc401659fe2c087 authored over 4 years ago by Yufan You <[email protected]>
Use StyleSheet instead of QPalette
ec6dad674a27071cde4e603c4e6d9afa68921ace authored over 4 years ago by Ashar <[email protected]>1f22cfc55e3cc8a009c0fddb9c5b74e9ea97d6ab authored over 4 years ago by Yufan You <[email protected]>
b3f6437e357e7d97d34015d07a33d0fd85c2541c authored over 4 years ago by Ashar Khan <[email protected]>
d3881d370562c7d1e4df85cfa8583db79b0929be authored over 4 years ago by Ashar <[email protected]>
endl is deprecated in Qt 5.15
Since QCodeEditor is a library, it's better to support Qt 5.12
2139da3b44315043877fc85ca9719f3f7eac9c86 authored over 4 years ago by Yufan You <[email protected]>* feat: add per parentheses setting and tab jump out
1. Now you can configure each parenthesi...
0b535efd010a571296f1c538003e390c1ae964bc authored over 4 years ago by Yufan You <[email protected]>a67aa01767f0e31cad449c21b5a4ec789543a12c authored over 4 years ago by Yufan You <[email protected]>
Because changing the text frame format affects the undo history, and we
can't access the undo s...
The text cursor should be in the same line and same column after the
operation if possible.
Before this commit, Shift+Enter adds a new line in the same block, and
result in a wrong line n...
* feat: Add bottom margin with the height of a page
* fix: Fix crash when the document is empty
869eac8b3f73d01621f0f4baff331ee2a458e889 authored over 4 years ago by Yufan You <[email protected]>Ctrl+Enter should be the same as End + Enter
Ctrl+Shift+Enter should be the same as Up + End ...
29e30ee30bbec6dbfba9becf906f08b4ad435380 authored over 4 years ago by Yufan You <[email protected]>Now the linting color block in the line number area is of 7px width.
This also changes the name...
f57ca8a93f8f6c0f655779c58688d20e33907d8f authored over 4 years ago by ouuan <[email protected]>This closes #7.
ae5e3a8d102cf34f06c1dd4ef903193ede0ad32e authored over 4 years ago by ouuan <[email protected]>The bug:
When it's:
```
<space><cursor><space>
```
And you press enter, i...
fc44a0b1d0755610079118ddda7330b09c871531 authored over 4 years ago by ouuan <[email protected]>13376c5d75a47f716cd55db95dd6f14b3d2dcea0 authored over 4 years ago by ouuan <[email protected]>
7b7bf07834a23185e78a3e3582123fa6f04653b7 authored over 4 years ago by Ashar Khan <[email protected]>
e5d668c99537047b32b696cd6d22af1a8694d1e7 authored over 4 years ago by ouuan <[email protected]>
4ffa7bb12543a625d118636f10fbdad610994c89 authored over 4 years ago by ouuan <[email protected]>
This fixes #10.
b644aeb013be503fcfbb7e4d9aa5f57901df6395 authored over 4 years ago by Dmitriy <[email protected]>* Add a simple JS highlighter
* Add a JS sample code
49cf6f84ebe3253b53e47185bee303be341750da authored over 4 years ago by Dmitriy <[email protected]>This fixes #11.
This is only a workaround. The QFramedTextAttribute solution seems not
possible...
The old method moves the window to make the squiggles visible when
adding squiggles.
f3c534fb6d4b47a2351f388133ca0dab1bfce2b1 authored over 4 years ago by ouuan <[email protected]>
The behavior is the same as Sublime Text 3.2.2.
ecb2c3c289f5bcb90011e7be14c17f1e7cfc87a5 authored over 4 years ago by ouuan <[email protected]>1bec856c93fe1b9ed939b58d005a6d4f4cdf7807 authored over 4 years ago by ouuan <[email protected]>
0c97525f3d0b625bc3d2d38f07b7230ddc4f92d1 authored over 4 years ago by Ashar Khan <[email protected]>
In some cases the clear function failed because the stored start and
stop position of underline ...
This commit adds following new changes to QCodeEditor API
1. Pick color for error and warning f...
8c0d19e3a33f870367fbac2eb005b0745be76c4e authored over 4 years ago by Ashar Khan <[email protected]>85fd0622b223f0706eb3909b503b57846ab2e9f2 authored almost 5 years ago by ouuan <[email protected]>
See also: https://doc.qt.io/qt-5/implicit-sharing.html
The header is also formatted.
e2ead14d51872f270569c90db5e89b80689bc435 authored almost 5 years ago by ouuan <[email protected]>QTextCursor::Down doesn't work as expected when text wrap is on.
e5fcc59da7df9669485634d352a27f14eb9c5aa1 authored almost 5 years ago by ouuan <[email protected]>To build the example, please use `cmake .. -DBUILD_EXAMPLE=On`
0a90f8fa510c26d45bf8c2d99e8d5aba358e7f0f authored almost 5 years ago by ouuan <[email protected]>3ea0f38480938a721e76015a0d634c3724293b81 authored almost 5 years ago by ouuan <[email protected]>
This commit adds squiggle and unsquiggle method for underlining and
un-underlining the code with...
It required two undos for auto-close parentheses, now it doesn't
require any.
Auto-completion for parentheses was checked before auto-close, because
the left quote and the ri...
This is reported at cpeditor/cpeditor#213.
Qt uses "block" for a real line, and "line" for a li...
0dd0a30159476368b6d94e65fd1bbdac72a55230 authored almost 5 years ago by ouuan <[email protected]>47ead6eff6087720576e9cdfd60df90775786eb9 authored almost 5 years ago by ouuan <[email protected]>
c3128f624210ba0b993d78fc8ad25f2af0ee1787 authored almost 5 years ago by ouuan <[email protected]>
This will enable Ctrl+Shift+Tab to switch to the previous tab
666b28a4c8ad74a6a5ea8d42c65402a73f3c7f1b authored almost 5 years ago by ouuan <[email protected]>
Reference:
https://docs.oracle.com/javase/specs/jls/se6/html/lexical.html#48272
Draft:
Decimal...
11f5647502e2295bd93c48c79da0e767ec16f389 authored almost 5 years ago by ouuan <[email protected]>9e276cfef6afe76d3bd78996049104517311d634 authored almost 5 years ago by ouuan <[email protected]>
58dc90e725af73140ba2ba04489e834c73b4628d authored almost 5 years ago by ouuan <[email protected]>
46a56792fbedbc43eae946e3d400d1f7777478e3 authored almost 5 years ago by Taylor Holberton <[email protected]>
Ctrl+Enter: insert line after, like `o` in vim.
Ctrl+Shift+Enter: insert line before, like `O` ...
d5f3be3aa499b0f47e7300acd199afff3f789609 authored almost 5 years ago by ouuan <[email protected]>This will prevent multiple redos for a single indent.
ddf94e2a79f1f56aef10c07ea05fee1a92970c59 authored almost 5 years ago by ouuan <[email protected]>12fc3175371d18328f781a6ad2283b6d8169ac56 authored almost 5 years ago by ouuan <[email protected]>
This closes ouuan#3.
6f5950cb9d3381a5b7229b6e78d1766583df53c6 authored almost 5 years ago by ouuan <[email protected]>1. Replace the confusing code with a much more concise one.
2. Works with mixed spaces and tabs...
daebc1a6ec4b939c1118df69ab791ea76d5b5e93 authored almost 5 years ago by ouuan <[email protected]>200bf8bb952501396353b65568c963f74f228058 authored almost 5 years ago by Frank <[email protected]>
dc644d41b68978ab9a5591ba891a223221570e74 authored almost 5 years ago by Frank <[email protected]>
The bug: there was no auto-indent for a single "{" without "}".
This bug was introduced in Mega...
7ca15611da3be20c947fc471e727e56786726316 authored almost 5 years ago by ouuan <[email protected]>
Empty lines don't match /\S/, so change the regex to /\S|^\s*$/ will
match the right place for b...
These slots are added:
/**
* @brief Slot, that indent the selected lines.
*/
void indent();
...
df7a31232adcd69365a7bb7cca03afb3aaa44cf8 authored almost 5 years ago by ouuan <[email protected]>bcc66044114421aa70d571a576d1af84295c7feb authored almost 5 years ago by ouuan <[email protected]>
682a7b7d4ea39372bff232722f39fcbb35f0c242 authored almost 5 years ago by ouuan <[email protected]>
1. Single-line comments
- shortcut: Ctrl + /
- before:
```cpp
foo
bar
...
/**
* @brief Method for remove the first group of regex
* in each line of the selection.
* @p...
For example, if the selected text is `foo` and you press `{` and
autoParentheses is on, the text...
In the old version every multiple occurrence is highlighted, such as
tabs. It was very confusing...
The occurrences were framed, but it sometimes cost a long time which is
perceptible by the users...
b3e27a3a4c053e20c9a390df0f9f2dc7042fa660 authored almost 5 years ago by ouuan <[email protected]>
2c145bd8293c97664bbf8632a6769194f5a1b282 authored almost 5 years ago by ouuan <[email protected]>
712bc1aff311a5ac0bdc056679410da2c9e3238f authored almost 5 years ago by ouuan <[email protected]>
10bca37b70a23b00375878f5c3b2632048c38afe authored almost 5 years ago by ouuan <[email protected]>
48e12af5eef5610b7967f6ff05b88a245435f8d3 authored almost 5 years ago by Alex <[email protected]>
53eb80396107c0f5e160d04255ac433caa9dc2c8 authored almost 5 years ago by Alex <[email protected]>
fdc5cab1e06c050038c444ba2dbacb8e52fd20b5 authored almost 5 years ago by Ashar <[email protected]>
ead3d141557b099dfd09781a9785470625510ac2 authored almost 5 years ago by ouuan <[email protected]>
5337897cce609dad186786c0e603e983e47898aa authored almost 5 years ago by ouuan <[email protected]>
be4194c8e87ac096f27c317e8cb4935fd419daeb authored almost 5 years ago by ouuan <[email protected]>
Copy edited (e.g. ref. <https://www.youtube.com/watch?v=1Dax90QyXgI&t=17m54s>).
e0cfb330e09c3454eaa3a123901d459ce2a6701e authored about 5 years ago by Peter Mortensen <[email protected]>d7130539d6f135b1a79df917d3963f720876428a authored about 5 years ago by ouuan <[email protected]>
6152b5f6ad06b3a91b3553a94d4fada59ce26d22 authored about 5 years ago by Frank <[email protected]>
4791fee3ec9e3156334f5ffb1acb492b22c8890c authored about 5 years ago by Ashar <[email protected]>
48873c805d071aafaf1d3295566a01498d196dd4 authored about 5 years ago by Alex <[email protected]>
d60d6fed337e74d694b6f2eed96761dd7e927a4b authored about 5 years ago by Alex <[email protected]>
fix #11, Adds contrast for line numbers.
d18d6b1f812046817781faefd054d7690c9ca6f1 authored about 5 years ago by Alex <[email protected]>Improving CXX Auto-Indentation
a9a8dfa15001d4f29ed4bfff45a439206c25a55d authored about 5 years ago by Alex <[email protected]>Fix #9 Comment highligting mistake
7a7b3f49580dfabfd2e00bc199d6785d30460d0d authored about 5 years ago by Alex <[email protected]>The above changes should only affect the C++ language (if user has set the highlighter to C++). ...
aee0836c6622de2767f54c212ac8852955d27dd0 authored about 5 years ago by Ashar <[email protected]>7c52ac568709b79cb86afe26913cf5d11021ae27 authored about 5 years ago by Ashar <[email protected]>
`/` was set as one-line comment starter. changed it to `//` the correct one-line highligher.
4280aba5f4b44b0bb1d8326b33f979102c430175 authored about 5 years ago by Ashar <[email protected]>6c6ad9257dd11dc35f4a3bccc3ca35108305e0a7 authored about 5 years ago by Megaxela <[email protected]>
Initial python completion and highlighting support
8b36df7ae1fc751511a0d93d31c30483055ff52c authored about 5 years ago by Alex <[email protected]>f5e4ba2725c1f4f521da147cdf5374cc4386edb7 authored about 5 years ago by Dov Grobgeld <[email protected]>
Added Lua highlighter
e969aedf09f27f1041ece35c9b02761d3e9bca44 authored about 5 years ago by Alex <[email protected]>580aaf9ce583d7c79d2759a6c1213406b4797037 authored over 5 years ago by IMelker <[email protected]>
4026bd67ecad2be81dc5d356f5d367f21a72211d authored over 6 years ago by megaxela <[email protected]>
Fixed frame selection remove from last line.
ac9d3fad186204b12d1fb20e7ea3f39bf4977c44 authored over 6 years ago by megaxela <[email protected]>441122bc8013fd734365c1c5f5f03532484e2acd authored over 6 years ago by Megaxela <[email protected]>