Limiting number of lines in GTKSourceView

I am trying to put a limit on the number of editable lines in gtksourceviewmm3. Anyone has any idea how to achieve this ? I checked the documentation but there is no such function exists for this purpose. Thanks

Can you explain more about what you are trying to do? The buffer can have any number of lines but only some of them should be editable?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.