Re: Request for a "Rewrap paragraph" function

From: <briancsch....at.gmail.com>
Date: Tue, 27 Apr 2010 15:03:59 -0700 (PDT)

On Apr 27, 1:36 pm, Robert <ro....at.web.de> wrote:
> I actually tried to quickly get this working before replying to
> Russell and failed...
> First I tried to get a init.lua and copied the one from the docs - it
> didn't work because textadept has to be required before menu.

Yes. I hit that problem as well. The example init.lua needs to be
changed.

> Then I
> took the part from the original init.lua and then wrap.lua crashed
> because I didn't had a buffer.edge_column...
> I followed Brian's instructions and now it works - and do I wish I had
> tried this before getting keyword lists for lexers together...
> When testing it briefly now, it sometimes deleted all text - so I'll
> be looking forward to the next version :-)
> Example:
> Empty buffer, typing one line longer than 80 chars, ctrl-h, perfect
> rewrap, another line, ctrl-h, everythings gone.

Hm. I thought I had gotten rid of those bugs. I'll try fixing that
tonight.

> I would propose to include a user's init.lua as a file in the docs
> directory. So you could actually click on a link to it, save it in
> .textadept and be ready.

That would be a good idea.

> Further I think the user snippets.lua and key_commands.lua
> functionality could maybe be included in the user init.lua. (I know
> I've been pro snippets.lua when this was discussed before :-)
> I added an example for an init.lua. Certainly the wording or the
> examples could be improved, maybe the comments for the first modules
> could be shortened as most people would be interested in changing the
> menu or key_commands.
> Having a file and instructions like this would be one place less to
> change things, as Russell mentioned, this can be confusing. Of course,
> you can change things everywhere in Textadept, but in general I think
> it would be nice to have as much as possible in one file.
> What do you think?
>
> Robert

-- 
You received this message because you are subscribed to the Google Groups "textadept" group.
To post to this group, send email to textadept.at.googlegroups.com.
To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
For more options, visit this group at http://groups.google.com/group/textadept?hl=en.
Received on Tue 27 Apr 2010 - 18:03:59 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:41:19 EST