Fixed more edge cases in selection, style selected newline separatly.