Changeset 262
- Timestamp:
- 11/15/02 20:20:21 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/j/mail/NewsCommands.java
r2 r262 3 3 * 4 4 * Copyright (C) 1998-2002 Peter Graves 5 * $Id: NewsCommands.java,v 1. 1.1.1 2002-09-24 16:09:59piso Exp $5 * $Id: NewsCommands.java,v 1.2 2002-11-15 20:20:21 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 86 86 public static void readArticle() 87 87 { 88 readArticle(false); 89 } 90 91 public static void readArticleOtherWindow() 92 { 93 readArticle(true); 94 } 95 96 private static void readArticle(boolean useOtherWindow) 97 { 88 98 final Editor editor = Editor.currentEditor(); 89 99 final Buffer buffer = editor.getBuffer(); 90 100 if (buffer instanceof NewsGroupSummary && editor.getDot() != null) 91 ((NewsGroupSummary)buffer).readArticle(editor, editor.getDotLine()); 101 ((NewsGroupSummary)buffer).readArticle(editor, 102 editor.getDotLine(), useOtherWindow); 92 103 } 93 104 }
Note: See TracChangeset
for help on using the changeset viewer.