tsh
tsh

Reputation: 4758

Is it possible to place vertical scroll bar of ace editor to the left?

I want the scroll bar of ace editor be shown on the left instead of the right.

Is it possible, and how can a archive that?

Thanks.


I have searched and checked the documentation, but not found related topics. I also try to handle this in my css: But it seems that the position is calculated by javascript, which means it is hard to handle by css.

I do not want to modify library codes.

Upvotes: 1

Views: 1235

Answers (1)

a user
a user

Reputation: 24169

You can add .ace_scrollbar.ace_scrollbar-v { left: 0 } to place scrollbar over the gutter, but to make it work properly you'll have to change virtual_renderer.js#L414, and several other places, so i'd say it is not possible without modifying the library. Why do you want to put scrollbar on the left side?

Upvotes: 3

Related Questions