bertbeck / gwrite

Automatically exported from code.google.com/p/gwrite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

After using the menu Style > Heading[1-6] focus is moved away from the edit screen

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. Type some text, more than one line, behaviour is different on top line
2. Put cursor on a line (not first), click Style and choose Heading 1 to 6

What is the expected output? What do you see instead?
Usually, after changing the style like this, the cursor remains in the edit 
window. After choosing a heading, the cursor is no longer in the edit window. 
If I press shift-tab twice, the cursor returns to the edit window, at the 
beginning of the document.

Version 0.3.0 on Ubuntu 10.04 Lucid.

Original issue reported on code.google.com by callum.m...@gmail.com on 11 Jun 2010 at 9:49

Sorry,
can't reappear it.

on my ubuntu 10.04, after click the Heading menu or tool button, the cursor 
still in the edit area.

Original comment by jhuangjiahua@gmail.com on 22 Jul 2010 at 2:03

  • Added labels: Component-UI
I had a look at the source here on google code. I'm not using gwrite at the 
moment, I'm using lyx instead, I think it's better suited to my purpose. I'd 
like to lend a hand and see if the latest code fixes the issues I reported, but 
I'm not sure how to install the new code without messing up my .deb install. Is 
there a detailed walkthrough on how to install somewhere? I tried reading 
install / setup.py, but I couldn't get a handle on what files would be put 
where.

Is there some way I can drop files on top of my .deb install so that if I 
remove the deb, all the newer code would also be removed? I like to keep my 
machine tidy. :-)

Original comment by callum.m...@gmail.com on 23 Jul 2010 at 7:39

well,
try this commands to build a deb pack::
{{{
  sudo apt-get install mercurial fakeroot cdbs debhelper python python-support python-setuptools python-distutils-extra
  hg clone https://gwrite.googlecode.com/hg/ gwrite  
  cd gwrite
  debuild -rfakeroot
  cd ..
  sudo dpkg -i *deb
}}}

enjoy it =)

Original comment by jhuangjiahua@gmail.com on 24 Jul 2010 at 2:12

  • Added labels: Component-Logic
  • Removed labels: Component-UI
Sweet, I've just built my very first legitimate .deb. I had only created fake 
debs before. A bold new step. :-) I also needed to install devscripts for the 
debuild command.

With the latest code, the bug has disappeared for me. :-) Thanks for taking the 
time to follow up on these bug reports, I really appreciate.

Original comment by callum.m...@gmail.com on 24 Jul 2010 at 3:39

Nice,
close the bug =)

Original comment by jhuangjiahua@gmail.com on 24 Jul 2010 at 9:48

  • Changed state: Done