Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 426142 - Content assist should not autotrigger at EOL of //line c…
…omment

--Signed-off-by: Elijah El-Haddad <elijahe@ca.ibm.com>
  • Loading branch information
elijahe committed Jan 29, 2014
1 parent 5feb510 commit 6a2bebe
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -612,7 +612,7 @@ define("orion/editor/contentAssist", [ //$NON-NLS-0$
if (!stylesAtOffset) {
// lazily initialize this variable to avoid getting the styles
// for every model modification, only ones that may trigger
stylesAtOffset = this._styleAccessor.getStyles(caretOffset);
stylesAtOffset = this._styleAccessor.getStyles(caretOffset - 1);
}
// check if any of the styles match the excludedStyles RegExp
isExcluded = stylesAtOffset.some(function (element) {
Expand Down

0 comments on commit 6a2bebe

Please sign in to comment.