editmap terrain editor will automatically write horizontal or vertical terrain types in rectangle draw mode.

This works if the selected terrain has '|' or '-' symbol, and the following suffix pairs for id: "_v"/"_h", "_vertical"/"_horizontal", "_v_alarm"/"_h_alarm"

![glass_rect](https://i.imgur.com/FpFOsID.png)