Basic editor experience. Help needed!

After selecting some lines by drawing a rectangle frame around them, I would like to convert them in a list or to perform other modifications (background color etc.) by using the right mouse key.