Developping the buffer

Petit rappel de la ScalaDoc convention
```
/** Return a selected substring in the buffer
  *
  * @param beginIndex The begin of the selection
  * @param endIndex The end of the selection
  * @return A String of the selection
  */
```

#quality #:koala: