Ledges? Sorry, haven't had problems. I got knocked off once from being attacked near one, haven't engaged enemies near them since. And if walking off is your issue, walk diagonally. Forward and against the wall, its just extra insurance.
The parry/riposte combo works extremely well in...