This includes a bunch of changes to the Markdown inline APIs to better align with CommonMark and our actual needs; a clean-up of the previous half-hearted attempt at supporting custom inline nodes (it did not and could never have worked in the way it was implemented), and some misc tweaks and cleanup.
closes https://github.com/JetBrains/intellij-community/pull/2915
(cherry picked from commit 70ef3e792dc4f64fd4d2afc6aa02f8c190203443)
(cherry picked from commit 606d5a2004d373e961229af09b367f0ccf2ceae4)
IJ-MR-155570
GitOrigin-RevId: 793138291f4f0c131949c08d0bfa037f843335d3
We were mistakenly extending CommonMark's CustomBlock
instead of implementing Jewel's CustomBlock in TableHeader,
TableRow, and TableCell.
Also includes a few fixes to make the CI happy
closes https://github.com/JetBrains/intellij-community/pull/2941
(cherry picked from commit 4ef24831f99c88a1bd68a9a1eefce161bd20ae90)
(cherry picked from commit a68eb41a1dad92a025f1936e1f26d12fdca30692)
IJ-MR-155570
GitOrigin-RevId: 1703dab764f6740bb0a781edf53cc4ad698332a4
Enables Kotlin's Explicit API mode for the Jewel JPS builds
(excluding the samples and the ui-test modules), to align
with the settings in the Gradle build.
closes https://github.com/JetBrains/intellij-community/pull/2926
(cherry picked from commit e61a16c1e90e8ed1958d0b5b474383098c0127cb)
(cherry picked from commit 88d9c89f5a1b4fe6a244ddccc991969be976d068)
IJ-MR-155570
GitOrigin-RevId: 3976e54cd7413426347b6480f7ba6d4c080c7e62
The EAP we were targeting no longer seems to exist
closes https://github.com/JetBrains/intellij-community/pull/2936
(cherry picked from commit a3dfcbea418fe0e64be13b9d5fd088f0f8f7fad0)
(cherry picked from commit 3c1a480e91af23bd47efe071d92a90487914cd47)
IJ-MR-155570
GitOrigin-RevId: 5f386ae609fa89dbfb9c5f8d4c88c6662b4e7feb
This allows users to specify where the popup should show. The default behaviour remains unvaried.
closes https://github.com/JetBrains/intellij-community/pull/2929
(cherry picked from commit 51d06e723b7c16901a41d954218ed61d17c9c9e8)
(cherry picked from commit 1cc11ad0e4f7a3f2ed5dcb96d086c1da6b8badb9)
IJ-MR-155570
GitOrigin-RevId: af0c57c489c7aa3ddab8750761d0ef1753c89687
This allows opening the Jewel Gradle sub-project in the IDE and
still being able to use the VCS integration. Without this, the
Jewel sub-project has no VCS enabled in the IDE.
closes https://github.com/JetBrains/intellij-community/pull/2925
(cherry picked from commit f61852955272b5f45435cae67523333012f4fa40)
(cherry picked from commit c76652ad927f8402d757bc2259e49cf5ee7c439d)
IJ-MR-155570
GitOrigin-RevId: 24f4cb263420bebacddaeccf6d7785cc09d7888a
This helps with places like the incoming SimpleTableLayout that need it
in `foundation`, but don't have access to it because it's in `ui`.
It also makes semantic sense, since the other, similar, modifiers we
created all live in foundation; thenIf has no "ui" specificity to it.
This also marks the "old" modifier as scheduled for removal in 252.
closes https://github.com/JetBrains/intellij-community/pull/2923
(cherry picked from commit e13efd3a5d33a65d88add97727be9b4f2c59a042)
(cherry picked from commit 8b36ee40225829592a5c911469f7739e836c817b)
IJ-MR-155570
GitOrigin-RevId: 3d089e6acab0cd6aef11496debfc881e1307520a
Missing .key caused the index check to always be -1, resulting in lastActiveItemIndex being set to -1 after Ctrl + left mouse click selecting an item. This led to an array out-of-bounds error in the onExtendSelectionToKey method when using Shift to select items.
- Corrected the logic in toggleKeySelection to properly compare keys.
- Changed `selectableLazyListState.lastActiveItemIndex = allKeys.indexOfFirst { it == key }`
to `selectableLazyListState.lastActiveItemIndex = allKeys.indexOfFirst { it.key == key }`.
closes https://github.com/JetBrains/intellij-community/pull/2900
(cherry picked from commit 54992abe8c1a27133d89e6bc48dca7e1697554d1)
(cherry picked from commit 610806d90dc4902d0c01b62d5ffe4f161050393b)
IJ-MR-155570
GitOrigin-RevId: cf3000beeecf62d6c8441e8d4163c980724eec97
The Javadoc for the class was malformed; I took the opportunity to rewrite it.
(cherry picked from commit 8997ee70d7f5124f0a922ed451cf744ad68b487a)
(cherry picked from commit 569461707bd7280432d58e381b8a502b488ce069)
IJ-MR-155570
GitOrigin-RevId: 78aafb7a7f8da039f609b7e60ff34ea2cf1642a9
Keep the original component hierarchy.
(cherry picked from commit 8746d61bef8c62a1a41e27631c574ade59608ed7)
IJ-CR-157279
GitOrigin-RevId: 5466789040175232ac60e928bf85cc011d1c133b
It went missing due to the hardcoded `LookupBottomLayout` layout. Its wrapper size was not updated.
(cherry picked from commit 3cb66e335c3de50c5b310de87a314b6f5cf4c400)
IJ-CR-157279
GitOrigin-RevId: d099d412ba2455f995fdd2e2a6c2f7f06e6a6362
#IJPL-176927 Fixed
Turns out: we all make boolean logic errors every once in a while, no exceptions.
follow-up: f449ea4351689c3dac3b0ea23327addc30e25c1e
(cherry picked from commit 9ab72e969a704fa346e76c69d14cfba068bde0ee)
GitOrigin-RevId: 9088f5bdac7aa091d4abe89ae480c9fe7a526739
- support editorconfig
- more tests
(cherry picked from commit d7fd604e95b1dd197a3efbdbfcd54e81564b2490)
IJ-CR-156496
GitOrigin-RevId: 141bae22ad1f263d06b28618bf425a68e8d3cac6