Commits

Ali Gholami Rudi  committed c7e1bce

ropeide: updated about dialog

  • Participants
  • Parent commits 5675d24

Comments (0)

Files changed (3)

 .. _`rope`: http://rope.sf.net/
 
 
+New Features
+============
+
 Setting Up
 ==========
 
 Keybinding
 ==========
 
-Uses almost the same keybinding as in rope.
+Uses almost the same keybinding as rope.
 
 =============   ============================
 Key             Action
         resource, offset = self._get_location()
         docs = codeassist.get_doc(
             self.project, lisp.buffer_string(), offset, resource)
+        pydoc_buffer = lisp.get_buffer_create('*rope-pydoc*')
+        lisp.set_buffer(pydoc_buffer)
+        lisp.erase_buffer()
         if docs:
-            pydoc_buffer = lisp.get_buffer_create('*rope-pydoc*')
-            lisp.set_buffer(pydoc_buffer)
-            lisp.erase_buffer()
             lisp.insert(docs)
             lisp.display_buffer(pydoc_buffer)
 
 
 def get_long_description():
     lines = open('README.txt').read().splitlines(False)
-    end = lines.index('License')
+    end = lines.index('Getting Started')
     return '\n' + '\n'.join(lines[:end]) + '\n'
 
 setup(name='ropemacs',