Skip to content
Snippets Groups Projects
Commit 3d26d413 authored by Sebastian Bergemann's avatar Sebastian Bergemann
Browse files

YELLOW

Issue-ref: 4299
Issue-Url: af3#4299



Signed-off-by: default avatarSebastian Bergemann <bergemann@fortiss.org>
parent 0bcdd3fd
No related branches found
No related tags found
1 merge request!2034299: Add comment handling to source editor (for highlighting)
Pipeline #38570 failed
...@@ -2,6 +2,6 @@ AdvancedTreeViewerEditorBase.java 9d9eded6848ee78991d1416592d1136efd71d2b7 GREEN ...@@ -2,6 +2,6 @@ AdvancedTreeViewerEditorBase.java 9d9eded6848ee78991d1416592d1136efd71d2b7 GREEN
FormsEditorBase.java b113501b98ffffcac362ca9f474ad02a42bde186 GREEN FormsEditorBase.java b113501b98ffffcac362ca9f474ad02a42bde186 GREEN
GEFEditorBase.java e668f596f45f07215994cbbd3929a9438331718f GREEN GEFEditorBase.java e668f596f45f07215994cbbd3929a9438331718f GREEN
SourceEditorBase.java 47e69e2e6788b9897339c384cd03f9a22755037c GREEN SourceEditorBase.java 47e69e2e6788b9897339c384cd03f9a22755037c GREEN
SourceEditorConfigurationBase.java 7ebd080e394b394602e136ae7d63b5a51f952b0c RED SourceEditorConfigurationBase.java edb5eaa20d3f6c060600422b841c668b5efccabf YELLOW
SourceEditorUndoRedo.java 08127a8e0afb4f9c2f4c21294ca3220282c25bf0 GREEN SourceEditorUndoRedo.java 08127a8e0afb4f9c2f4c21294ca3220282c25bf0 GREEN
TreeViewerEditorBase.java 1c59689ff57c4f3cc180d85f13021fc03461ecb0 GREEN TreeViewerEditorBase.java 1c59689ff57c4f3cc180d85f13021fc03461ecb0 GREEN
/*-------------------------------------------------------------------------+ /*-------------------------------------------------------------------------+
| Copyright 2012 fortiss GmbH | | Copyright 2023 fortiss GmbH |
| | | |
| Licensed under the Apache License, Version 2.0 (the "License"); | | Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. | | you may not use this file except in compliance with the License. |
...@@ -114,6 +114,12 @@ public abstract class SourceEditorConfigurationBase<T extends EObject> ...@@ -114,6 +114,12 @@ public abstract class SourceEditorConfigurationBase<T extends EObject>
/* /*
* FIXME (AB): Wouldn't it be cleaner and more efficient, to collect all rules in one List * FIXME (AB): Wouldn't it be cleaner and more efficient, to collect all rules in one List
* that can be converted to an array at once? * that can be converted to an array at once?
* Answer (SeBe): Yes, but you cannot directly cast the whole list to the more generic
* IRule. Either, I would need to go through all lists and cast each WordRule and each
* PatternRule separately to an IRule before I could merge them in one List, or I would need
* to turn every initial List directly into an array and then concatenate these arrays. Both
* needs more effort and computation power than the current solution.
* I would therefore suggest to leave it like it is now.
*/ */
// word rules // word rules
List<WordRule> wordRules = getCommonRules(); List<WordRule> wordRules = getCommonRules();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment