skuro / plantuml-mode

A major mode for editing PlantUML sources in Emacs
GNU General Public License v3.0
513 stars 97 forks source link

Move point at most to beginning of line when indenting #148

Open exot opened 3 years ago

exot commented 3 years ago

When indenting a line, point is moved synchronously to keep the current position relative to the surrounding text. This works well when the indentation level is increased (point is moved to the right then), but when the indentation level is decreased (point is moved to the left), it might happen that point is moved beyond the beginning of the current line, positioning it somewhere on the previous line or even before that. This commit fixes this undesired behavior by never moving point before the beginning of the current line.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

exot commented 2 years ago

Bump to make stale-bot happy.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.