The reason why I use "hand made" is, If I want to edit three lines I have to copy the code three times and change the corresponding line numbers. There is no auto procedure to do the job in my code.
So this is only a demo of an idea. Wish someone capable in php like the idea and make it a plugin. Cheers, linly On 3月29日, 上午7時57分, Linly <[email protected]> wrote: > Yah, it's one of the problem I met. > > I use "include" to grab the line text, and use "log" to save back. The > problem is the "log" function will delete all the empty lines at the > same time. > > So currently this "action.lineedit" can only be used once. After > saving, the target page messed up the line numbers. So I didn't open > the write auth. > > Here is the code corresponding to the first line/paragraph: > > <code> > [(include page={p} lines=1..1)] > [(toggle id=line1 init=hide show=' Edit▽' hide=' Hide△')] > <box id=line1> > [form] > [box line01 cols=40 rows=5][(include page={p} lines=1..1)][box] > [submit] > [session log "content='{=line01}' delimiter='\n' target='{p}' > flags='remove,line=1'"] > [form]</box> > </code> > > Cheers, linly > > On 3月29日, 上午1時22分, Martin <[email protected]> wrote: > > > Looks good but does not save? > > > Greetings, Martin > > > On Mar 28, 5:54 pm, Linly <[email protected]> wrote: > > > > Hi all, > > > > I can't help to make this idea online. So please visit my "line edit" > > > test page and click the "line edit" link. Then click the edit line in > > > the end of every line to see the effect: > > > >http://txtray.net/?p=test > > > > Please tell me what you think. > > > > Cheers, linly --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
