Andreas Dangel
fd3f58ba59
Simplified check if javafx is available before starting the designer
2018-06-18 20:38:56 +02:00
Clément Fournier
ee971c2747
Revert disabling css logging
...
Doesn't compile on Java 9. We may be able to use reflection to bypass this,
but I leave it for future work
2018-06-17 15:12:42 +02:00
Clément Fournier
f34cd37f73
Merge branch 'master' into designer-node-highlighting
2018-06-17 14:25:46 +02:00
Clément Fournier
e1066fe5ae
Reorder designer menus
2018-06-17 14:25:35 +02:00
Clément Fournier
76ecd31999
Unclutter designer console output
...
We turn off the css logger, and allow RichTextFX to access internal javafx API to avoid
the illegal access warning.
2018-06-17 14:15:05 +02:00
Clément Fournier
cd5a039e3c
Fix ExecutorService not shutdown
2018-06-17 02:10:33 +02:00
Clément Fournier
4054125252
Checkstyle
2018-06-16 22:29:08 +02:00
Clément Fournier
f8061db6ab
PMD:check fix
2018-06-16 22:12:10 +02:00
Clément Fournier
ba4c71dd08
Touchup
2018-06-16 20:02:51 +02:00
Andreas Dangel
5a7bbe19a2
dogfood: fix missing override
...
Note: the rule is disabled for pmd-xml, refs #1074
2018-06-16 17:48:36 +02:00
Clément Fournier
9708bf1e74
Remove StyleContext, split CustomCodeArea in two
2018-06-16 00:15:38 +02:00
Clément Fournier
45321f6328
Remove ability to disable XPath result highlighting
2018-06-16 00:15:38 +02:00
Clément Fournier
bb237b94e4
Split secondary layer into error + name occurence
2018-06-16 00:15:38 +02:00
Clément Fournier
f07c4f708c
Factorise syntax highlighting stylesheet with Less
2018-06-16 00:15:38 +02:00
Clément Fournier
f668262f39
Style updates are not queued anymore
...
This caused unexpected behaviour for dubious performance improvements
2018-06-16 00:15:38 +02:00
Clément Fournier
abe79b2af4
Cache StyleCollection#toSpans
...
Cache hit rate is great when you're inspecting the AST or XPath results without changing the text
2018-06-16 00:15:38 +02:00
Clément Fournier
9d41d552c0
Prevent XPath from reeavaluating when the code is unparsable
...
It previously was reevaluated on an out-of-date compilation
unit. It makes no sense to keep an out-of-date root node in
the AstManager so we now use Optional to indicate there is
no compilation unit.
2018-06-16 00:15:38 +02:00
Clément Fournier
ff34b7d1c7
Fix recentFiles always reverted
2018-06-16 00:15:38 +02:00
Clément Fournier
99ded1c500
Use icon pack for xpath toolbar
2018-06-16 00:15:38 +02:00
Clément Fournier
7deed84084
Documentation
2018-06-16 00:15:38 +02:00
Clément Fournier
0726616bc4
Fix highlighting twitching on rapid updates
2018-06-16 00:15:38 +02:00
Clément Fournier
e58bfe2cba
Cleanup
2018-06-16 00:15:38 +02:00
Clément Fournier
3d35bc3127
Add syntax highlighting to the XPath result listview
2018-06-16 00:15:38 +02:00
Clément Fournier
1e3f0ce85e
Simplify the codeArea's interface
2018-06-16 00:15:38 +02:00
Clément Fournier
16ee4ce5fc
Highlight focus node lines
2018-06-16 00:15:38 +02:00
Clément Fournier
eea4403121
Better scroll to node on the editor
...
We scroll so that the node is made entirely visible
2018-06-16 00:15:38 +02:00
Clément Fournier
732cedcfb5
Fix bug with single node in span
2018-06-16 00:15:38 +02:00
Clément Fournier
5934f1be38
Highlight selected linenumber in the gutter
2018-06-16 00:15:38 +02:00
Clément Fournier
865412171f
Use Less mixin to generate xpath style classes
2018-06-16 00:15:38 +02:00
Clément Fournier
6e406b89b7
Improve XPath violation display
2018-06-16 00:15:38 +02:00
Clément Fournier
c5063cdd70
Use LESS to factorise stylesheets
2018-06-16 00:15:38 +02:00
Clément Fournier
4231d1aaf9
Add inline highlighting back
2018-06-16 00:15:38 +02:00
Clément Fournier
f9a791a10c
Fix some bugs, cleanup
2018-06-16 00:15:38 +02:00
Clément Fournier
a78b01aaa6
Subtract previous syntax layer instead of recomputing everything
2018-06-16 00:15:38 +02:00
Clément Fournier
87c2c89da2
StyleCollection depth layering, use better algorithm
2018-06-16 00:15:38 +02:00
Clément Fournier
1fa46a5620
Treat syntax highlight specially, introduce NodeStyleSpan
2018-06-16 00:15:38 +02:00
Clément Fournier
3e4cf99e33
Cleanup
2018-06-16 00:15:38 +02:00
Clément Fournier
3aedc65444
Queue styling updates
2018-06-16 00:15:38 +02:00
Clément Fournier
5fc7a997da
Fix highlighting wiped off by new changes
2018-06-16 00:15:38 +02:00
Clément Fournier
b45789100a
Fix bug
2018-06-16 00:15:38 +02:00
Clément Fournier
76445b13bb
Highlighting XPath results doesn't autoscroll anymore
...
Styling improvements. The previous paradigm for highlighting nodes
was to change the fill and make it bold, I'm now more inclined to
change the background/box or just use bold weight for the focus
node.
With syntax highlighting, it's more readable
2018-06-16 00:15:38 +02:00
Clément Fournier
a59c82e72a
Allow to toggle the result highlighting on/off
2018-06-16 00:15:38 +02:00
Clément Fournier
9ff78a63d2
Outline XPath results with borders on the editor
2018-06-16 00:15:38 +02:00
Clément Fournier
0fd7f282f5
Highlight error nodes from the event log panel
2018-06-16 00:15:38 +02:00
akshatbahety
39ec32ea63
Minor Fix
2018-06-15 15:25:47 +05:30
akshatbahety
7e07208366
Minor fixes
2018-06-14 23:09:13 +05:30
akshatbahety
2db426fb0c
Minor Removal Fix
2018-06-14 18:57:35 +05:30
akshatbahety
32136e0e9e
Bug Fixes
2018-06-14 18:16:12 +05:30
akshatbahety
4bb34b1c8e
Minor Update
2018-06-14 17:13:33 +05:30
akshatbahety
1e839a6c04
Display Autocomplete near carat , it's a hack
2018-06-14 03:22:18 +05:30