diff options
Diffstat (limited to 'container-search-gui')
2 files changed, 2 insertions, 2 deletions
diff --git a/container-search-gui/src/main/resources/gui/editarea/edit_area/plugins/autocompletion/autocompletion.js b/container-search-gui/src/main/resources/gui/editarea/edit_area/plugins/autocompletion/autocompletion.js index 5531a2a4f69..762e0882ff4 100644 --- a/container-search-gui/src/main/resources/gui/editarea/edit_area/plugins/autocompletion/autocompletion.js +++ b/container-search-gui/src/main/resources/gui/editarea/edit_area/plugins/autocompletion/autocompletion.js @@ -277,7 +277,7 @@ var EditArea_autocompletion= { nbMatch = 0;
for( i =0; i<limit ; i++ )
{
- if( line_string.substring( limit - i - 1, limit ) == content.substring( 0, i + 1 ) )
+ if( line_string.substring( limit - i - 1, limit ).toUpperCase() === content.substring( 0, i + 1 ).toUpperCase() )
nbMatch = i + 1;
}
// if characters match, we should include them in the selection that will be replaced
diff --git a/container-search-gui/src/main/resources/gui/editarea/edit_area/reg_syntax/yql.js b/container-search-gui/src/main/resources/gui/editarea/edit_area/reg_syntax/yql.js index 0a7dae862f3..545927a833a 100755 --- a/container-search-gui/src/main/resources/gui/editarea/edit_area/reg_syntax/yql.js +++ b/container-search-gui/src/main/resources/gui/editarea/edit_area/reg_syntax/yql.js @@ -72,7 +72,7 @@ editAreaLoader.load_syntax["yql"] = { ,"CASE_SENSITIVE": false
,"MAX_TEXT_LENGTH": 50 // the maximum length of the text being analyzed before the cursor position
,"KEYWORDS": {
- '': [ // the prefix of thoses items
+ '': [ // the prefix of these items
/**
* 0 : the keyword the user is typing
* 1 : (optionnal) the string inserted in code ("{@}" being the new position of the cursor, "ยง" beeing the equivalent to the value the typed string indicated if the previous )
|