             for word in hits
               # We cut the title to 32 chars
               tl = word.title.length
-              if tl > 32
-                word.title = word.title.substr(0, 31) + "\u2026"
+              if tl > 36
+                word.title = word.title.substr(0, 35) + "\u2026"
               # A nifty logo for the different types
               icon = "mortar-board"
               if word.type == "article-journal"

          if prefix[0] == "@"
            p = prefix.normalize().replace(/^@/, '')
            p = removeDiacritics(p)
            suggestions = []
            hits = fuzzaldrin.filter allwords, p, { key: 'author' }
            for h in hits

      getPrefix: (editor, bufferPosition) ->
        # Whatever your prefix regex might be
        regex = /@[\w-]+/
        wordregex = XRegExp('(?:^|[\\p{WhiteSpace}\\p{Punctuation}])@[\\p{Letter}\\p{Number}\._-]*', 'A')
        cursor = editor.getCursors()[0]
        start = cursor.getBeginningOfCurrentWordBufferPosition({ wordRegex: wordregex, allowPrevious: false })
        end = bufferPosition
